October 21, 2013 at 4:02 pm
In an existing SSRS 2008 r2 report, I would like to pass the values of customername and
customer number to several different rdls. The values for customername and customer number
are not part of the details that appear in the report. I am going going to pass the values as
parameter values.
If this is possible to pass the values between rdls as just parameters? If so, can you point me to a
link that will show me how to accomplisdh this goal?
If not, can you show me how to pass the values as a detail line that is not displayed in the RDL's dewtail lines?
October 22, 2013 at 7:31 am
I believe if the columns you need are part of the dataset, you can use them to pass as parameters to another report as you would with values that show in your report.
October 23, 2013 at 7:16 am
Daniel is correct. The fields only have to be part of your dataset in order to filter on them using parameters. You do not have to display these fields in your report.
For instance, your dataset query could look like this
SELECT Field1, Field2, Field3, etc.
FROM Table1
WHERE CustomerNumber = @CustNum AND CustomerName = @CustName
As for passing the parameter to multiple reports (rdls), each report would have to use a dataset that referenced those parameters. Luckily you don't have to create a separate parameter for each report in your solution. You can re-use the same parameters across multiple reports.
Best of Luck 🙂
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply