SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


ssrs 2008 r2 pass valuesd


ssrs 2008 r2 pass valuesd

Author
Message
wendy elizabeth
wendy elizabeth
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1261 Visits: 775
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?
Daniel Bowlin
Daniel Bowlin
SSCarpal Tunnel
SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)

Group: General Forum Members
Points: 4166 Visits: 2629
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.
pmoseley
pmoseley
SSC Rookie
SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)

Group: General Forum Members
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 :-)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search