Groups | Blog | Home
all groups > sql server reporting services > february 2005 >

sql server reporting services : nested data regions


D Witherspoon
2/23/2005 4:27:59 PM
I am trying to nest 2 data regions. I have two data tables using a
different dataset but using the same data source.

I am trying to nest these and I've put the second data table in the group
footer of the first. How can I have the second data table work properly and
filter by the current group field value of the first data table. The
reporting services documentation is not clear.

Just testing it I am getting errors such as:

c:\inetpub\wwwroot\wcr\wcrreports\rptWCR_.rdl The value expression for the
textbox 'Comment' refers to the field 'Comment'. Report item expressions
can only refer to fields within the current data set scope or, if inside an
aggregate, the specified data set scope.


The reason I moved it into a seperate data region from a sub report is
because I could not find a way for the subreport to NOT "keep together".

Thanks for helping...


D Witherspoon
2/23/2005 4:38:35 PM
Also,

Even though I have set the dataset of the second data table to a different
data set than the first table, the only fields that show up in the value
property for text boxes in the second data table are fields from the first
data table.

I am getting frustrated...

[quoted text, click to view]

Robert Bruckner [MSFT]
2/24/2005 8:25:30 PM
Nested data regions have to share the same data set. The closest you can get
is to use subreports - they are independent reports and will retrieve the
data on their own (you can pass parameters to subreports).


-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

Hawkeye
3/11/2005 4:49:05 AM
Will this (nested reports with different datasets) be possible in the next
version of the MS Reporting Services?

[quoted text, click to view]
Robert Bruckner [MSFT]
3/13/2005 6:23:28 PM
Are you really asking for "nested reports with different datasets" rather
than nested data regions with different datasets? This would be subreports
and it is available in RS 2000.


-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

Hawkeye
3/14/2005 2:05:02 AM
What I ment is to use a table in a table - both use different datasets. Ok, a
solution is to use subreports in a table, but with the disadvantages (do they
really exist?)
- the user can run a subreport for itself
- how to share report parameters (without copying them)?



[quoted text, click to view]
AddThis Social Bookmark Button