I am using iReports 4.7.1. I have a problem with an invoice report that should show a transport subtotal at the end of each page. This works fine in my subreport (columnfooter) and subtotal: evaluation time per page. But when I return the variable for the subtotal to my mainreport (because the report has multiple subreport details which all need to be cumulated) the same variable used in a field on the screen returns null when I set the evaluationtime to page. When I change it to auto it shows the total report value (so values are returned and shown). I tried all the evaluationtime settings of this field but it does not come up with the correct value.
According to this issue: http://community.jaspersoft.com/questions/538777/variables-evaluation-time#comment-805018 the problem is that the variables dont have an evaluation setting. It is always done with now. That is the reason why it works without any problems for fields, but when you want to use variables to determine whether to print a section in a report or to pass a page number or subtotal to a main report, you are out of options....
Did anyone find a workaround for this problem?
Thanks in advance!