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

How to pass values from variables from sub-report to main report


Go to solution Solved by Friendly User,

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

Hello Fabiano,

the subreport element has a list of return values. You can bind the variables from the subreport to the variables in the main report and then use them in the main report. The variable can be null because if it was used before the subreport calculations take place. So if you're using a variable from subreport in a text field and you see null there, make sure that variable has a proper Evaluation Time option. Now means it will be evaluated as soon as it is encountered in a report. If that is before the subreport is executed then you need to delay the evaluation and put Evaluation Time to Report for example.

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