Do While Looks strange - Printing w/o Data on first run & Another Anomaly

OK, what is happening is that I have the following code which
prints out the
title in an h3, then prints out a link with "full story" text
in it.
My problem is that I am getting a blank link at the beginning
of this block.
<?php do { ?>
<h3><?php echo $row_rsNews['newsTitle'];
?></h3>
<a href="news.php?cid=<?php echo
$row_rsNews['newsID']; ?>">Full
Story</a><br />
<?php } while ($row_rsNews = mysql_fetch_assoc($rsNews));
?>
Outputs:
<h3></h3>
<a href="news.php?cid=">Full Story</a><br>
<h3>Youth Education Program</h3>
<a href="news.php?cid=5">Full Story</a><br>
<h3>Katy Trail Biking Trip</h3>
<a href="news.php?cid=15">Full
Story</a><br>
<h3>Choir Chili Supper Plans</h3>
<a href="news.php?cid=9">Full Story</a><br>
1. Notice that my first run of things are not showing
correctly
2. And this is the weird one - look at how my <br />
tags have changed to
<br>.
Any ideas? I'm about lost on this one.
TIA,
Jon Parkhurst
PriivaWeb
http://priiva.net.

OK, here is my complete code block for my news section. This
page is goign
to be redone, but I would still like to understand why it's
not working -
why I'm not correctly resetting a recordset.
Recordset rsArticle is only populated if gID is sent in the
url
Here we see that the rsArticle to be displayed is only shown
if there is a
gID:
<?php if ($totalRows_rsArticle > 0) { // Show if
recordset not empty
?>
<h2><?php echo $row_rsArticle['newsTitle'];
?></h2>
<p><?php echo $row_rsArticle['newsAuthor'];
?><br />
<?php echo $row_rsArticle['newsDateEdited'];
?></p>
<?php $mc_pic = $row_rsArticle['newsPicture'];
if ($mc_pic != "") { ?>
<img class="newsimg"
src="app/app_get_img.php?image_path=<?php
echo $mc_pic?>&sz=article" />
<?php }
echo $row_rsArticle['newsContent']; ?></p>
<?php } // Show if recordset not empty ?>
And here is the code to show if there is no gID:
<?php if ($totalRows_rsArticle == 0) { // Show if
recordset empty ?>
Here is the first DoWhile statement, to repeat all *other*
records. the
rsNews Recordset is built using get all articles <>
gID. If no gID, it
fetches them all for a full listing, if gID, then it fetches
only the
articles NOT displayed by rsArticle. Cool so far, right?
<?php do { ?>
<a class="pbutton" href="news.php?cid=<?php echo
$row_rsNews['newsID']; ?>">Full Story ...</a>
<h3><?php echo $row_rsNews['newsTitle'];
?></h3>
<?php echo $row_rsNews['newsShortDesc']; ?>
<?php
} while ($row_rsNews = mysql_fetch_assoc($rsNews));
Now here, I'm *attempting* to reset rsNews to the first
record in the
recordset, so that I can reuse the recordset for another part
of the page.
Again, on this page it's not really necessary, but I have
other areas of the
site that this is crucial for me to be able to implement.
mysql_data_seek($rsNews, 0);
?>
Then it closes out the final If recordset is empty
<?php } // Show if recordset empty ?>
The reason I'd rather do this than just create another
recordset is mostly
simplicity. If I'm going to create another recordset, then I
see little
value in the recordsets - I can just set string variables and
re-send a SQL
statement. However, that method leaves the SQL as non DW
accessible.
Unless I'm missing something?
Thanks for taking a look, if you get the chance. If you
don't, I'm goign to
keep trying to figure out a way I can do this.
TIA,
Jon

Similar Messages

  • Requirement to print data of first and second report of an ALV at once

    Hi,
    I have an interactive ALV report in which on double click of any of the record on first report, its details get displayed in second report. My requirement is to print all the data (of first and second report) at once.
    Kindly tell me how can I achieve this functionality.
    Regards,
    Seema Naharia

    Hi Seema,
    Try with this FM 'REUSE_ALV_HIERARCHICAL_LIST_DISPLAY'.   
    Regards,
    Sujatha B.

  • Date of Last Payment two years before Date of First Deliquency?

    Hey guys,   I was curious if I should do anything about this, or leave it alone since it should fall off in 09/2016.  (or maybe I can have Transunion do an EE in 03/2016) The funny thing is that Equifax removed this from their report the other day, and I thought it would fall off my other reports too until I actually took a look at my Transunion credit report this morning since I was going to ask them to do an EE. Transunion has the Date of last payment as 08/2008 (Equifax did too.) - BUT, it has my first deliquency around 09/2009 according to the payment history...  I think?  I'll let you guys look at this and be the judge.  I can't look at Equifax for the date of first deliquency since they no longer have it on my report. What would you guys do with this?  I actually have a new account with Capital One now - two cards in very good standing with a perfect payment history, both were recently given CLI and both will get another increase via Credit Steps at the end of this month.  I want to keep this good relationship, and wonder if that would help with getting this old (and confusing) C/O removed.  At the same time, I'm scared of this updating to a more recent date and looking like a new C/O on my report if I "poke the bear". I have no collections on my report for this either, btw - and it is also past the SOL for my state. Thanks! Edit:  After looking at this further, it *appears* that I ran up the card and was making payments, then defaulted on those payments?  I really can't remember.  Seems like a best case scenario though.  Maybe I should leave it alone and be happy that Equifax maybe  made a mistake!  Still doesn't explain that 2008 date of last payment, however.         

    Hey guys,   I was curious if I should do anything about this, or leave it alone since it should fall off in 09/2016.  (or maybe I can have Transunion do an EE in 03/2016) The funny thing is that Equifax removed this from their report the other day, and I thought it would fall off my other reports too until I actually took a look at my Transunion credit report this morning since I was going to ask them to do an EE. Transunion has the Date of last payment as 08/2008 (Equifax did too.) - BUT, it has my first deliquency around 09/2009 according to the payment history...  I think?  I'll let you guys look at this and be the judge.  I can't look at Equifax for the date of first deliquency since they no longer have it on my report. What would you guys do with this?  I actually have a new account with Capital One now - two cards in very good standing with a perfect payment history, both were recently given CLI and both will get another increase via Credit Steps at the end of this month.  I want to keep this good relationship, and wonder if that would help with getting this old (and confusing) C/O removed.  At the same time, I'm scared of this updating to a more recent date and looking like a new C/O on my report if I "poke the bear". I have no collections on my report for this either, btw - and it is also past the SOL for my state. Thanks! Edit:  After looking at this further, it *appears* that I ran up the card and was making payments, then defaulted on those payments?  I really can't remember.  Seems like a best case scenario though.  Maybe I should leave it alone and be happy that Equifax maybe  made a mistake!  Still doesn't explain that 2008 date of last payment, however.         

  • HP Color Laserjet CM1015 MFP prints colors looking like 3D while single colors print fine.

    HP Color Laserjet CM1015 MFP prints colors looking like 3D while single colors print fine.  I have tried several calibrations with no change.  I have reset printer to factory default with no success. 

    Hi AFace; hope you are doing well and sorry to hear that you are having this issue.  
    Your HP Color Laserjet CM1015 MFP is a commercial product. I will suggest posting and looking in the forum for HP Business Support for a better chance at finding a prompt solution.
    You may find the commercial Laserjet board here.
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
    Thanks;
    RobertoR
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • How to print out a date from the past

    I am trying to print out a date from the past but I cant seem to get It,
    Lets use for example Independece Day,
    How would you write the code in order to print out that exact date?

    Look at the
    [url=http://java.sun.com/javase/6/docs/api/index.html?
    java/util/Date.html]Date APIActually the Calendar class would be better to use, since you can set all the different fields from year to second, plus things like day of week, day of month, week of year, etc.
    too slow
    Message was edited by:
    hunter9000

  • Error while using Rule file in loading data into Essbase through ODI

    Hi Experts,
    I am facing problem while loading data into Essbase. I am able to load data into Essbase successfully. But when i used Rule fule to add values to existing values am getting error.
    test is my Rule file.
    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Cannot put olap file object. Essbase Error(1053025): Object [test] already exists and is not locked by user [admin@Native Directory]
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
         at java.lang.Thread.run(Thread.java:662)
    from com.hyperion.odi.common import ODIConstants
    from com.hyperion.odi.connection import HypAppConnectionFactory
    from java.lang import Class
    from java.lang import Boolean
    from java.sql import *
    from java.util import HashMap
    # Get the select statement on the staging area:
    sql= """select C1_HSP_RATES "HSP_Rates",C2_ACCOUNT "Account",C3_PERIOD "Period",C4_YEAR "Year",C5_SCENARIO "Scenario",C6_VERSION "Version",C7_CURRENCY "Currency",C8_ENTITY "Entity",C9_VERTICAL "Vertical",C10_HORIZONTAL "Horizontal",C11_SALES_HIERARICHY "Sales Hierarchy",C12_DATA "Data" from PLANAPP."C$_0HexaApp_PLData" where      (1=1) """
    srcCx = odiRef.getJDBCConnection("SRC")
    stmt = srcCx.createStatement()
    srcFetchSize=30
    #stmt.setFetchSize(srcFetchSize)
    stmt.setFetchSize(1)
    print "executing query"
    rs = stmt.executeQuery(sql)
    print "done executing query"
    #load the data
    print "loading data"
    stats = pWriter.loadData(rs)
    print "done loading data"
    #close the database result set, connection
    rs.close()
    stmt.close()
    Please help me on this...
    Thanks & Regards,
    Chinnu

    Hi Priya,
    Thanks for giving reply. I already checked that no lock are available for rule file. I don't know what's the problem. It is working fine without the Rule file, but throwing error only when using rule file.
    Please help on this.
    Thanks,
    Chinnu

  • Error while realigning aggregates through master data attr. change run

    Hi all,
    We are using Sales Overview cube (SD_C03) on which we have built aggregates. now during the master data attribute change run it tries to realign the aggregate once the master data is loaded via Process chain. In this step we are facing an error:
    "Error while procesing aggregate <aggregate technical name>"
    From ST22 we can find
    Database error text........: "ORA-14400: inserted partition key does not map to any partition"
    Internal call code.........: "[RSQL/INSR//BIC/F200009 ]".
    Whereas from SM21 we can find out:
    Database error 14400 at INS access to table /BIC/F200009.
    /BIC/F200009 is the fact table of one of the aggreates we have. really looking forward to your valuable suggestion.
    Thnaks,
    Abhishek.

    Hi Jogeswara Rao Kavala,
    When I am pressing back or NO option  it is showing error like this
    What is this OK- Code means?
    how can I resume this process, even it was not going to back screen also and only one option is available for exit from this is by going into MENU-SYSTEM-SERVICES-BATCH INPUT-CANCEL.
    Sunil Boya

  • RMAN-06010: error while looking up datafile: 82

    Iam building dataguard - Physical Standby database by using the RMAN duplicate command and we are not using the recovery catalog but control file.
    Iam getting the following error while running the duplicate command.
    set newname for datafile 82 to
    "/dflx02/flx/o01flx3rbs/rbs02_02.O01FLX3";
    RMAN-06010: error while looking up datafile: 82
    Actually we dropped the datafile(tablespace) before taken the backup but it is giving error though we are using the latest control file.
    I do not see this file is available in the database as we dropped it successfully.
    Could some one let me know what could be the problem and how to resolve it.
    Your early response is greatly appreciated.
    Note:
    backup script -- It went successfully.
    # Script to be used to backup the production in preparation of creating a DataGuard instance
    YYYY=`date +"%Y"`
    mmdd=`date +"%m%d"`
    hh=`date +"%H"`
    mm=`date +"%M"`
    ss=`date +"%S"`
    hhmmss=${hh}${mm}${ss}
    dt=${YYYY}${mmdd}_${hhmmss}
    echo "Starting backup on O01FLX3"
    $ORACLE_HOME/bin/rman nocatalog <<EOF >> /dflx02/flx/oracle/log/full_backup_run_$dt.log
    connect target /
    configure device type disk clear;
    configure channel device type disk maxpiecesize 4G;
    configure device type disk backup type to compressed backupset parallelism 8;
    run{
    change archivelog all validate;
    backup current controlfile for standby format '/tmp/stby_snapcf_O01FLX3.f';
    backup database format '/dflx02/flx/o01flx3dump/rman/O01FLX3_%s_%p_%T_%t.bak';
    sql 'alter system archive log current';
    backup archivelog all format '/dflx02/flx/o01flx3dump/rman/O01FLX3_%s_%p_%T_%t.arc';
    EXIT
    EOF
    duplicate Script:
    #!/bin/ksh
    # Script to create standby database for production.
    YYYY=`date +"%Y"`
    mmdd=`date +"%m%d"`
    hh=`date +"%H"`
    mm=`date +"%M"`
    ss=`date +"%S"`
    hhmmss=${hh}${mm}${ss}
    dt=${YYYY}${mmdd}_${hhmmss}
    echo "Starting dataguard instance on O01FLX3DR"
    $ORACLE_HOME/bin/rman nocatalog <<EOF >> /dflx02/flx/oracle/log/cr_stdby_O01FLX3$dt.log
    connect target /
    connect auxiliary sys/xxxxxx@O01FLX3DR
    configure channel device type disk maxpiecesize 4G;
    configure device type disk backup type to compressed backupset parallelism 8;
    run {
    set until time "to_date('20080217:19:00', 'YYYYMMDD:HH24:MI')";
    duplicate target database for standby dorecover nofilenamecheck;
    exit;
    EOF
    set newname for datafile 82 to
    "/dflx02/flx/o01flx3rbs/rbs02_02.O01FLX3";

    Thank you for your reply. Actually Iam not renaming the datafile but building the
    dataguard instance and some how control file is looking for old datafile that was deleted.
    Actually both primary and dataguard instances are running on 10.2.0.3 . Oracle control file is listing the datafile 82 as old deleted file, while building the dataguard.
    ---- This file was deleted long time back but still oracle control file is looking for this file while building the dataguard. Iam using the latest control file.
    set newname for datafile 82 to
    "/dflx02/flx/o01flx3rbs/rbs02_02.O01FLX3"
    When I listed the datafile 82, it is showing the correct datafile.
    RMAN> list backup of datafile 82;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    50234 Incr 2 26.93M DISK 00:04:03 18-FEB-08
    BP Key: 101470 Status: AVAILABLE Compressed: YES Tag: DATABASE_BACKUP
    Piece Name: /dflx02/flx/o01flx3dump/rman/O01FLX3_51757_1_20080218_647031779.bak
    List of Datafiles in backup set 50234
    File LV Type Ckp SCN Ckp Time Name
    82 2 Incr 7953177017970 18-FEB-08 /dflx02/flx/o01flx3ndx15/flx_ndx3_18.O01FLX3
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    50334 Incr 2 27.76M DISK 00:04:16 19-FEB-08
    BP Key: 101587 Status: AVAILABLE Compressed: YES Tag: DATABASE_BACKUP
    Piece Name: /dflx02/flx/o01flx3dump/rman/O01FLX3_51857_1_20080219_647119328.bak
    List of Datafiles in backup set 50334
    File LV Type Ckp SCN Ckp Time Name
    82 2 Incr 7953257549488 19-FEB-08 /dflx02/flx/o01flx3ndx15/flx_ndx3_18.O01FLX3
    So Iam thinking that there should be a problem in control file and let me know how to resolve it.
    Please let me know if you have any questions.
    Thanks for your help.
    Suresh.D

  • Can't create a new illustration. Problems occurred while saving the print file.

    I can't open a new Illustrator file. It sends me this error: Can't create a new illustration. Problems occurred while saving the print file. ID:-1
    I opened a previous document created in CC, but it will not allow me to copy and paste items from one doc to another.
    I have rebooted with no avail.
    System:
    Adobe Creative Cloud CC
    Mac Book Pro 2012
    2.6 GHz Intel Core i7
    8 GB 1600 MHz DDR3

    Is a printer connected? Is it turned ON? Is the driver up to date?
    Illustrator checks this every time and also writes information on the printer into the file.

  • Can't able to print Non English data properly in PDF Output

    Can't able to print non english data properly
    Example:
    I want to print the germen data (Währung),But it printing like this (Währung) in PDF out put
    What the changes i have to do to achive this
    Thanks&regards
    yamini

    Hi Yamini,
    I think this happens when you look at utf-8 in Windows wiith another character set. I've noticed that the XML file (and hence the PDF output) displays those characters when I preview reports on the BI desktop, but the output from the server is fine, so I don't worry about it.
    Tore.

  • Print the form data instead of whole page

    Hello All,
    I am having a problem in my ADF/JSF page. I just want to print the form data of my form instead of the whole page.using javascript:print() method prints the whole page.so can you help me in solving this issue. I have JDev 10.1.3 and do not want to upgrade to JDev 11g!
    Is there some java code to do so?
    Thanks,

    Hi,
    you can apply CSS to the page and use the media selector to deermine which components should appear in the print and which should not.
    Downlad the word document in http://thepeninsulasedge.com/frank_nimphius/wp-content/uploads/2008/05/OldAndLostBlogBusterTips.zip
    and have a look at page 287
    Frank

  • 'Document Printing' not printing, while single Document prints

    Hi Experts,
    I have a client where the AR Invoice prints fine when you select a single invioce to print. But when you use the 'Document Printing' functionality to print multiple Invoices, it is not printing. No errors are displayed.
    I anyone know about extra settings or know what I'm missing I would really appreciate some help.
    Thank you!
    Marli

    Hi Experts!
    This problem was very strange... This worked on a Database Backup of a few days before. I do not know  why the Batch Printing was not working, while the single printing was working...
    I tested several scenarios, but in the end I saw that the System Print Layouts in PLD was still batch Printing and my Designed PLD was not (On previous DB it was working). I just created the PLD from scratch and now the Batch Printing is working again.
    Thanks for you help!
    Marli

  • My officejet pro 8500 a910 is not working with mac os lion. message is 'looking for printer'.

    plse help. my officejet pro 8500 910A was working perfectly with mac os 10.6, but with installation of lion, it no longer works. message i get is 'looking for printer'. i have tried reinstalling the printer many times. also tried the Update software option but my software is fully up to date. 

    Download and install this: http://support.apple.com/kb/DL907
    Restart your Mac.
    Re-add the printer in System Prefst > Print & Scan
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Strange Printing Issue With New HP & Pages

    Hello!
    I have a very strange printing issue with a new HP printer. I have written pages documents heavy in Texts which are located within tables. The documents print fine on a Cannon and Epson printer and look great but when I print the document on my new HP Laserjet Pro 400 Colour M451nw some of the text on some rows come out of the printer looking like they are bold / slightly fuzzy. This only happens with some of the rows of text, not all of them. The font is the same in every row with the same format.
    You can see this in the attached image. The first line (Thanks very much) has printed correctly but the subsequent lines look bold / slightly fuzzy.
    After a lot of testing the only way I can resolve this is if I copy the content into a new pages document and only then it will print and look ok with the HP printer.
    This must be a problem within my origional document. I would simply copy and paste everything into a new document however this would take a very, very long time (over 5 years of work producing teaching materials and over 100 documents and thousands of tables and formatting that cannot be copied and pasted).
    Also, on other printers you can see the lines seperating each row of the table. These lines are not visible on the HP print outs, even when the table is copied into a new document.
    Has anyone come accross an issue like this before? Is there a way I can fix this without creating a new document? Do I need to get a new another new printer (the 4th printer this week!)?
    Any advise, wise words would be greatly apprechiated!
    Thanks!

    Sorry, Fruhulda. After 4 hours on the phone with Apple care they are taking this issue further themselves. It seems to be a problem with our pages document and the compatibility with certain drivers. We have still not gotton to the bottom of it and Apple are going to get back to me when they have an answer.
    We also worked out that the issue only happens when you print via Ethrenet & USB. Printing via Wifi is ok and there are no quality issues.
    Very Strange!

  • Strange Matrix group by date question

    I have the following data:
    name
    date
    value
    bob
    1/1/2015
    5
    jane
    1/1/2015
    7
    jim
    1/1/2015
    9
    bob
    1/2/2015
    2
    jane
    1/2/2015
    5
    jim
    1/2/2015
    5
    bob
    1/2/2015
    4
    I am using a matrix with a group by date to produce the following:
    1/1/2015
    1/2/2015
    bob
    5
    4
    jane
    7
    5
    jim
    9
    5
    As you can see it only selected one value for bob on 1/2.
    Is is possible to show all of the values while still grouping by date?
    I would  prefer something like 
    1/1/2015
    1/2/2015
    1/2/2015
    bob
    5
    2
    4
    jane
    7
    5
    jim
    9
    5

    Hi ,
    I have created sample report based on your question. Steps are listed below:-
    Sample query is modified to get one more Column rowid as shown in below SQL query:-
    select *,row_number() over(partition by name,date order by date )rowid from
    SELECT 'bob' name, '1/1/2015' date ,5 value
    UNION
    SELECT 'jane' , '1/1/2015' , 7
    UNION
    SELECT 'jim' , '1/1/2015' , 9
    UNION
    SELECT 'bob' , '1/2/2015' , 2
    UNION
    SELECT 'jane' , '1/2/2015' , 5
    UNION
    SELECT 'jim' , '1/2/2015' , 5
    UNION
    SELECT 'bob' , '1/2/2015' , 4
    )T
    Now Create the matrix report rows --> Name
    Columns---> Date
    Detail---> Value
    After creation of matrix, just go to the Group Properties of Column group and add as shown below
    After this setting , run the report, it will give result as shown below:-
    RDL Code for reference:-
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
    <Body>
    <ReportItems>
    <Tablix Name="matrix1">
    <TablixCorner>
    <TablixCornerRows>
    <TablixCornerRow>
    <TablixCornerCell>
    <CellContents>
    <Textbox Name="textbox3">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value />
    <Style>
    <FontFamily>Tahoma</FontFamily>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox3</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCornerCell>
    </TablixCornerRow>
    </TablixCornerRows>
    </TablixCorner>
    <TablixBody>
    <TablixColumns>
    <TablixColumn>
    <Width>1in</Width>
    </TablixColumn>
    </TablixColumns>
    <TablixRows>
    <TablixRow>
    <Height>0.21in</Height>
    <TablixCells>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox2">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Sum(Fields!value.Value)</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox2</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    <DataElementOutput>Output</DataElementOutput>
    </TablixCell>
    </TablixCells>
    </TablixRow>
    </TablixRows>
    </TablixBody>
    <TablixColumnHierarchy>
    <TablixMembers>
    <TablixMember>
    <Group Name="matrix1_date">
    <GroupExpressions>
    <GroupExpression>=Fields!date.Value</GroupExpression>
    <GroupExpression>=Fields!rowid.Value</GroupExpression>
    </GroupExpressions>
    </Group>
    <SortExpressions>
    <SortExpression>
    <Value>=Fields!date.Value</Value>
    </SortExpression>
    </SortExpressions>
    <TablixHeader>
    <Size>0.21in</Size>
    <CellContents>
    <Textbox Name="date">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!date.Value</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontWeight>Bold</FontWeight>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>date</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>#6e9eca</BackgroundColor>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixHeader>
    <DataElementOutput>Output</DataElementOutput>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    </TablixMembers>
    </TablixColumnHierarchy>
    <TablixRowHierarchy>
    <TablixMembers>
    <TablixMember>
    <Group Name="matrix1_name">
    <GroupExpressions>
    <GroupExpression>=Fields!name.Value</GroupExpression>
    </GroupExpressions>
    </Group>
    <SortExpressions>
    <SortExpression>
    <Value>=Fields!name.Value</Value>
    </SortExpression>
    </SortExpressions>
    <TablixHeader>
    <Size>1in</Size>
    <CellContents>
    <Textbox Name="name">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!name.Value</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontWeight>Bold</FontWeight>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>name</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>#6e9eca</BackgroundColor>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixHeader>
    <DataElementOutput>Output</DataElementOutput>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    </TablixMembers>
    </TablixRowHierarchy>
    <RepeatColumnHeaders>true</RepeatColumnHeaders>
    <RepeatRowHeaders>true</RepeatRowHeaders>
    <DataSetName>DataSet1</DataSetName>
    <Top>0.37in</Top>
    <Height>0.42in</Height>
    <Width>2in</Width>
    <Style />
    </Tablix>
    <Textbox Name="textbox1">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Strange Matrix Group by Date</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>14pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>SteelBlue</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Center</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox1</rd:DefaultName>
    <Height>0.37in</Height>
    <Width>5in</Width>
    <ZIndex>1</ZIndex>
    <Style>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </ReportItems>
    <Height>1.04in</Height>
    <Style />
    </Body>
    <Width>5in</Width>
    <Page>
    <LeftMargin>1in</LeftMargin>
    <RightMargin>1in</RightMargin>
    <TopMargin>1in</TopMargin>
    <BottomMargin>1in</BottomMargin>
    <Style />
    </Page>
    <AutoRefresh>0</AutoRefresh>
    <DataSources>
    <DataSource Name="DataSource1">
    <DataSourceReference>DataSource1</DataSourceReference>
    <rd:SecurityType>None</rd:SecurityType>
    <rd:DataSourceID>b2ebe046-5f1b-45c9-82e7-5baa7ed2460a</rd:DataSourceID>
    </DataSource>
    </DataSources>
    <DataSets>
    <DataSet Name="DataSet1">
    <Query>
    <DataSourceName>DataSource1</DataSourceName>
    <CommandText> select *,row_number() over(partition by name,date order by date )rowid from
    SELECT 'bob' name, '1/1/2015' date ,5 value
    UNION
    SELECT 'jane' , '1/1/2015' , 7
    UNION
    SELECT 'jim' , '1/1/2015' , 9
    UNION
    SELECT 'bob' , '1/2/2015' , 2
    UNION
    SELECT 'jane' , '1/2/2015' , 5
    UNION
    SELECT 'jim' , '1/2/2015' , 5
    UNION
    SELECT 'bob' , '1/2/2015' , 4
    )T</CommandText>
    <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
    </Query>
    <Fields>
    <Field Name="name">
    <DataField>name</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="date">
    <DataField>date</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="value">
    <DataField>value</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="rowid">
    <DataField>rowid</DataField>
    <rd:TypeName>System.Int64</rd:TypeName>
    </Field>
    </Fields>
    </DataSet>
    </DataSets>
    <Language>en-US</Language>
    <ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
    <rd:ReportUnitType>Inch</rd:ReportUnitType>
    <rd:ReportID>dfd8f7e8-fcc1-4636-991e-d86824825c30</rd:ReportID>
    </Report>
    Thanks
    Prasad
    Mark this as Answer if it helps you to proceed on further.

Maybe you are looking for

  • M7747c

    The current SATA Hard Drive is having problems.  The message Hard Drive Failure is Imminent is appearing.  The drive is 320 GB.  What is the largest size this system can handle?  

  • Import data from MS ACCESS in background mode

    Hello experts, i am facing the following problem. I´ve got to import a MS ACCESS database in background mode via job. I got a solution which works in dialoge: create object conn 'ADODB.Connection'. create object rsdb 'ADODB.Recordset'. concatenate 'P

  • Adobe Flash Player 11.6.602.180 (15.7 MB)

    Facebook games wont open now that I installed this. What is the remedy. Respond to [removed]. Yes I had th anti virus off during instalation.

  • My I phone 5 has started 'searching' so I can't dial or recieve messages

    Hoping anyone can help. My iPhone suddenly switched to 'searching', so I cannot make calls or receive/send text messages.

  • CS 6: trial version install hangs at 42%  (Win 7)

    Greetings, I am attempting to install the CS6 trial version on my Windows 7 machine. When it starts installing AdobeHelp, it gets to 42%, then the time remaining increases, but the percentage stays at 42%. I rebooted and tried again, with the same re