RRinTetons
IS-IT--Management
SSRS 2005, VS 2005
Given a top level report TopReport containing two subreports SubReportOne and SubReportTwo. The two subreports exist independently and have been added to the project in VS. Each has its own Report Parameters that are passed to the stored procedures that collect data. SubReportOne uses Parm1, Parm2, Parm3 and Parm4. SubReportTwo uses Parm1, Parm2, Parm3, Parm5 and Parm6.
TopReport is simply a container for the two subreports. It doesn't have a query at all.
As I understand it, I need to add Parm1, Parm2, Parm3, Parm4, Parm5 and Parm6 as Report Parameters for TopReport, then pass the ones required into SubReportOne and SubReportTwo to be passed on to the sp's.
When I set up the Subreport Properties Parameters tab, how do I reference the values from TopReport's parameters? Or, is there some other way to pass those parms on into the sp's for the subreports? Or, have I got the entire concept crosswise?
-
Richard Ray
Jackson Hole Mountain Resort
Given a top level report TopReport containing two subreports SubReportOne and SubReportTwo. The two subreports exist independently and have been added to the project in VS. Each has its own Report Parameters that are passed to the stored procedures that collect data. SubReportOne uses Parm1, Parm2, Parm3 and Parm4. SubReportTwo uses Parm1, Parm2, Parm3, Parm5 and Parm6.
TopReport is simply a container for the two subreports. It doesn't have a query at all.
As I understand it, I need to add Parm1, Parm2, Parm3, Parm4, Parm5 and Parm6 as Report Parameters for TopReport, then pass the ones required into SubReportOne and SubReportTwo to be passed on to the sp's.
When I set up the Subreport Properties Parameters tab, how do I reference the values from TopReport's parameters? Or, is there some other way to pass those parms on into the sp's for the subreports? Or, have I got the entire concept crosswise?
-
Richard Ray
Jackson Hole Mountain Resort