Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

ssrs 2008 r2 call extra reports Expand / Collapse
Author
Message
Posted Thursday, October 10, 2013 8:05 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, December 17, 2014 9:33 AM
Points: 379, Visits: 451
In a ssrs 2008 r2 report, I want to always run a main report. However I want to add parameters to the main report when it is executed so that 'related' reports are executed. When the reports are executed, I would like the following to occur:
1. The user will select which reports that are to be executed by using parameters that are supplied to the SSRS 2008 report.
2. What reports should be executed will be based upon what the user selections.
3. The order of the reports will be setup to run in a predefined order.
4. The reports will run in a sequential order. One report will not run until the first report is completed.
5. The report output will be attached to the main report in a seqnetial order.

Can you tell me how to accomplish the goals I have listed above using SSRS 2008 r2? Also if all goals are not possibly for what I listed above, can you tell me how to complete the tasks that are possible?
Post #1503849
Posted Thursday, October 10, 2013 8:45 PM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Thursday, December 4, 2014 7:54 PM
Points: 3,087, Visits: 2,686
You could add each of the related reports to the main report as Sub Reports. You can set the "Hidden" property of the Sub Report to control whether it is visible based on the parameter the user enters.

This should give you the report you are wanting.



Post #1503851
Posted Friday, October 11, 2013 7:25 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, December 17, 2014 9:33 AM
Points: 379, Visits: 451
I would like the extra reports to follow the main report. I do not want the reports embedded in the main report. So would I use subreports, drill through reports, and /or data regions? How would I setup this sql ?
Post #1504001
Posted Sunday, October 13, 2013 4:38 AM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Thursday, December 4, 2014 7:54 PM
Points: 3,087, Visits: 2,686
Firstly - "Drill through reports" is a concept. SSRS allows you to implement this, if you need.

As for your requirement - sub report is my thinking. A sub report is simply a report that is used within another report. The sub report is another report in your project and is referenced from your main report using the sub report (in the reporting services tool box). The report you use as the sub report generally would no have page headers/footers - these are defined in your main report.

As for the SQL - each report in reporting services has its own data sources. The main report may pass parameters to the sub report, though.



Post #1504251
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse