ssrs 2008 r2 call extra reports

  • 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?

  • 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.

  • 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 ?

  • 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.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply