Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


ssrs 2008 r2 call extra reports


ssrs 2008 r2 call extra reports

Author
Message
wendy elizabeth
wendy elizabeth
Mr or Mrs. 500
Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)

Group: General Forum Members
Points: 583 Visits: 721
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?
happycat59
happycat59
Hall of Fame
Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)

Group: General Forum Members
Points: 3562 Visits: 3097
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.



wendy elizabeth
wendy elizabeth
Mr or Mrs. 500
Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)Mr or Mrs. 500 (583 reputation)

Group: General Forum Members
Points: 583 Visits: 721
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 ?
happycat59
happycat59
Hall of Fame
Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)

Group: General Forum Members
Points: 3562 Visits: 3097
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.



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search