shalomd Posted February 24, 2009 Share Posted February 24, 2009 hi,i want to know how can i pass a parameter value from one report to another with hyperlink.the reports are two diffrent "report units" !!!please i need a quick answer.thanksshalom Post Edited by Shalom Dinur at 02/24/09 08:42 Link to comment Share on other sites More sharing options...
ramandeep1980 Posted February 26, 2009 Share Posted February 26, 2009 Hi shalom,U can do it by creating hyperlink.Create a hyperlink on the requied fields.Click right on it and select hyperlink option.Thenchoose target to be "ReportExecution and other option as "Self".Go to link parameter and add parameter which you wanna to get passed onto other report.Also add one more parameter as "_report"" and in expression give the repository path of thae second report.Now when u will run this report you will goto the second reportHope this will be helpful.Regards,Raman Link to comment Share on other sites More sharing options...
shalomd Posted March 3, 2009 Author Share Posted March 3, 2009 hi raman! first of all thank you for your answer. i did what you wrote and the link is ok, but in the second report when i try to show the parameter value by dragging it from the parameter's list i see "null". why???? Post Edited by Shalom Dinur at 03/10/09 11:08 Link to comment Share on other sites More sharing options...
shalomd Posted March 10, 2009 Author Share Posted March 10, 2009 please i need your help!!!Post Edited by Shalom Dinur at 03/10/09 11:10Post Edited by Shalom Dinur at 03/10/09 11:11 Link to comment Share on other sites More sharing options...
yskripch Posted March 11, 2009 Share Posted March 11, 2009 When you are passing parameters between reports you have to make sure you specify the exact name of the parameters from the 2nd report on the hyperlink tab in the 1st report. So if my parameter name is "Customer_last_Name". When in the hyperlink tab, I click on add parameter and I use "Customer_last_Name" as the link parameter name and then I specify the correct class and then on the expression I would put in something like this "$P{Customer_last_Name} for the local parameter I am passing to the 2nd report. You can also replace it with a $F if you want to pass fields. Check to make sure your names match. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now