Jump to content
We've recently updated our Privacy Statement, available here ×

How to hyperlink a parameter with many data? like an array of any sort.


cchalkdust

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 

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_MAIN
1. 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...