RDLC filtering nested tables
Posted
by aprescott
on Stack Overflow
See other posts from Stack Overflow
or by aprescott
Published on 2009-07-24T21:00:06Z
Indexed on
2010/04/15
22:13 UTC
Read the original article
Hit count: 1171
rdlc
|reporting-services
I am creating an RDLC report where the dataset consists of several datatables. There is one parent table and several child tables.
What I would like to do is display relevant data from each child table for each row in the parent table.
Here is a simplified example: table1 = "Purchase" has columns PurhcaseID, PurchaseNumber, PurchaseDate table2 = "PurchasedItem" has columns PurchaseItemID, PurhcaseID, ItemDescription
In my RDLC, I have a Purchase table grouped on PurchaseDate and would like to display the PurchasedItems for each Purchase. The current solution uses a subreport, but I do not like this because it leaves an ugly empty space when there is no data for the subreport display. (I would be fine with using a subreport if I could properly hide it without leaving an empty space.)
I am not able to rewrite the stored procedure to return a single table, either.
How are others dealing with this scenario?
© Stack Overflow or respective owner