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

How to give database name as a parameter for SSRS report and subreport

$
0
0

Hi All

How to set parameter for Database name in both SSRS report and subreport? When report run, It should ask database name. i.e. provide interface to user to enter database name and produce report based on that selected database. 

Now I created report 1 it access diffetent data set called dataset1 and also I created report 2 within the same project. Report 2 access dataset2. I have added report 2 as a sub report in report1. I have defined parameter to run this subreport.  Now I want to define parameter for database name. i.e. connection string. When report run, It should ask database name. i.e. provide interface to user to enter database name and produce report based on that selected database. Both report1 and reort2 should be access given database name.  

I can pass database as a parameter for one report. But report consists of subreport I cannot do.

Please advice me how to achieve this requirement. Any help appreciate.

Thank You



Viewing all articles
Browse latest Browse all 10045

Trending Articles



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