fabiano.gabardo.lemos Posted June 22, 2017 Share Posted June 22, 2017 Hello,I have a report and a sub-report what have various variables, i want capture this variables from my subreport and show in the my main report. In my tests, the variables always returned null.Somebody can help me? thanks!Fabiano, Brasil. Link to comment Share on other sites More sharing options...
Solution Friendly User Posted June 27, 2017 Solution Share Posted June 27, 2017 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 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