Jump to content
Changes to the Jaspersoft community edition download ×

Initialize a variable


Recommended Posts


I have a sum variable with  below properties

Name = TotalPieces 

Calculation = Sum

Expression =$F{LinePieces}

Increment Type = None

Reset type = Report


I need to initialize the TotalPieces value to zero if the value of the TotalPieces are more than 100 .. Would appreciate if you can help me on this 







Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...