SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 ssrs 2008 r2 pass parmater value from rpt to rpt
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jassie
Constraint Violating Yak Guru

312 Posts

Posted - 11/28/2013 :  16:07:18  Show Profile  Reply with Quote
In a SSRS 2008 r2 dashboard, the user can click on various links to jump to various ssrs reports that are on the report server. When this occurs I would like to be able to pass the 'same' parameters selected by the user from report to report. Thus can you show me how to pass the 'original selected parameters' and pass the value from report to report so the values are used on the report the user jumps to?

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 11/28/2013 :  23:02:36  Show Profile  Reply with Quote
you just need to use jump to report or jump to url and use parameters!paramname.value for each of parameters in main report which you want pass to second report.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

jassie
Constraint Violating Yak Guru

312 Posts

Posted - 11/29/2013 :  23:48:43  Show Profile  Reply with Quote
You are saying that I can pass the parameter value from one report to the next report. How do you set this up? Do you need a dataset? Can you give me specific code on how to pass the parameter values. I cannot get this to work. Thanks!
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 11/30/2013 :  01:49:36  Show Profile  Reply with Quote
quote:
Originally posted by jassie

You are saying that I can pass the parameter value from one report to the next report. How do you set this up? Do you need a dataset? Can you give me specific code on how to pass the parameter values. I cannot get this to work. Thanks!


yep..its straightforward
in place where you need to pass parameter to other report just use
Parameters!FirstReportParamName.value and map it to corresponding parameter in the child report.
If using jump to url append Parameters!FirstReportParamName.value to expression where you need to pass param value

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000