navvish Posted November 2, 2009 Share Posted November 2, 2009 Hi,I am new to Jasper. I want to link two reports a Master and Child report by creating hyperlink on the master report. How can I do this. Any help is appreciated. regards,Naveen Link to comment Share on other sites More sharing options...
mdahlman Posted November 2, 2009 Share Posted November 2, 2009 Look for hyperlink type "Report Execution". You can search the forum for other posts on this topic. Link to comment Share on other sites More sharing options...
navvish Posted November 3, 2009 Author Share Posted November 3, 2009 Thanks for your reply. I was able to link two reports. But now I have another request. In my second report I have an SQL query.Whenever the the hyperlink is master report is clicked, I want to pass the value to the SQL query in second report? can I do it? If yes, how? Link to comment Share on other sites More sharing options...
sjongenelen Posted November 9, 2009 Share Posted November 9, 2009 is this a full resultset? you can use the java List object to pass it to the child. You should use the Link Paramters in the hyperlink menu :) Link to comment Share on other sites More sharing options...
navvish Posted November 9, 2009 Author Share Posted November 9, 2009 Actually I found the solution. In the child report, declare an Paramter and Input Control by same name as passed in te hyperlink and then access the parameter by in the child report. 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