Jump to content
JasperReports Library 7.0 is now available ×

Initialize a variable


ajith.devendra

Recommended Posts

Dear 

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 

 

Ajith 

 

 

 

 

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...