jgoddard Posted June 25, 2014 Share Posted June 25, 2014 I'm trying to figure out a problem I'm having in a Jasper Ireport and can't seem to get it. I have an integer variable that I want to increment by 1 if a certain condition is met. The condition is:$V{Current Result} > $V{Last Result} ? 1 and if the condition isn't met, I want it to reset to zero.I realize that there is a sum function that you can set that resets on a group change, but I don't want it to reset on the group, only if the above condition isn't met- hope this makes sense. Thanks in advance. 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