lip_bahia Posted July 8, 2013 Share Posted July 8, 2013 I have a group X and want the header of this group is written only if the value of a variable sum is not equal to 0 in this way: new BigDecimal (0). compareTo ($ V { TOTAL_EMP_UO})! = 0 | | New BigDecimal (0). CompareTo ($ V { TOTAL_LIQ_UO})! = 0 | | New BigDecimal (0). CompareTo ($ V { TOTAL_PAG_UO})! = 0[/code] But when I put this condition in Print when group header he did not write the header, it is as if the variable was always 0 before the group. But the group footer has the same condition and is writen. How do I fix this? 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