need help for subreport issue: variables cannot compute based on return value of subreport

I am using jsper studio 5.6, I use cherry group report, and use subreport in group to get another table field info,

I set variable_1 as return value of subreport, I can display it when I set evaluation time=band.

then I define a variables named   V1= $F{field}- varables_1,  I found it always return null.

if I directly input above expression in a text field and set evaluatoin time=band , it works!

What's the reason?

since I need sum(V1) in group, I have to use V1 instead of text field.

what I should do?  is it a bug? or is there any propertity I can set?

wangmin2001's picture
Joined: Aug 21 2014 - 11:34pm
Last seen: 8 years 6 months ago

1 Answer:

I check it again, I found return value cannot evaluate in this band, but will work for next entry/band, thus, every entry varaible value is not correct!.

 

 

wangmin2001's picture
Joined: Aug 21 2014 - 11:34pm
Last seen: 8 years 6 months ago
Feedback
randomness