Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

ssrs 2008 r2 pass valuesd Expand / Collapse
Posted Monday, October 21, 2013 4:02 PM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Thursday, October 13, 2016 8:10 AM
Points: 549, Visits: 681
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?
Post #1506897
Posted Tuesday, October 22, 2013 7:31 AM


Group: General Forum Members
Last Login: Saturday, September 17, 2016 8:01 AM
Points: 2,834, Visits: 2,629
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.
Post #1507130
Posted Wednesday, October 23, 2013 7:16 AM

SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, July 29, 2016 12:23 PM
Points: 47, Visits: 165
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
Post #1507610
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse