Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

How do I conditionally prevent a subreport from running?

$
0
0
Greetings,

I have been asked to modify an existing report, so I don't have the ability to totally rework the report design.  The report has 24 subreports.  We have a .net UI that runs the master report and passes to it parameters that indicate which of the 24 subreports to display in the master report.  The subreports that are not requested are hidden and this all works fine from a visual standpoint.

The problem is that all 24 subreports get run even if some or most of them are hidden in the master report.  This wouldn't be a problem (or much of a problem, anyway) if the subreports all executed quickly, but some of them take quite a long time to run.  I don't have approval to change this approach.

Is it possible to prevent a subreport from executing based on a parameter value?

Gracias,
BCB

Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>