(Return) Variables and evaluation time

0

Hello, 

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!

Siebe Vos

 

 

siebe.vos's picture
Joined: Dec 13 2013 - 3:57pm
Last seen: 5 years 9 months ago

2 Answers:

0

very sorry to hear that, I encounter same problem now, I also want to know how to caculate based on sbureport return value.

wangmin2001's picture
Joined: Aug 21 2014 - 11:34pm
Last seen: 4 years 8 months ago
0
cdcarloschacon's picture
Joined: Mar 11 2015 - 3:33pm
Last seen: 4 years 8 months ago
Feedback