cchalkdust Posted November 6, 2012 Share Posted November 6, 2012 I have a main report which have an input control with data A and B. I can transfer and manipulate the data A to subreport but data B is disregarded when passed to the sub report.How can i transfer/hyperlink both data A and B? Link to comment Share on other sites More sharing options...
marianol Posted November 7, 2012 Share Posted November 7, 2012 Same way you did with DataA :) the sub-report doesn't share anything from your main report unless you explicitly pass them. Let's say that your MAIN report has a parameter (or field for that matter) named FOO_MAIN1. Create a parameter in your sub-report with the name "FOO_SUB".2. Create a sub-report element in your main report.3. In the Properties of the sub-report element, there is a property called "Parameters". Open up the dialog and add a parameter with the name "FOO_SUB" and the correct value expression. In your case that expresion will be: $P{FOO_MAIN}.4. Now P{FOO_SUB} in your sub-report will have the same value than FOO_MAIN @ execution Repeat this until all the parameters you need are passed down. Link to comment Share on other sites More sharing options...
cchalkdust Posted November 8, 2012 Author Share Posted November 8, 2012 Thankyou for the response its now working perfectly. Link to comment Share on other sites More sharing options...
marianol Posted November 8, 2012 Share Posted November 8, 2012 No problem :) 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