ajith.devendra Posted June 24, 2018 Share Posted June 24, 2018 Dear I have a sum variable with below propertiesName = TotalPieces Calculation = SumExpression =$F{LinePieces}Increment Type = NoneReset 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 More sharing options...
hozawa Posted June 24, 2018 Share Posted June 24, 2018 Just add the condition to the Expression and set Calculation to "No Calculation Function"(($V{TotalPieces} + $F{LinePieces}) > 100) ? 0 : $V{TotalPieces} + $F{LinePieces} Link to comment Share on other sites More sharing options...
ajith.devendra Posted June 26, 2018 Author Share Posted June 26, 2018 Thanks Hozawa, Thanks for your quick response .It worked perfectly . Best Regards Ajith Link to comment Share on other sites More sharing options...
ajith.devendra Posted June 26, 2018 Author Share Posted June 26, 2018 Dear Hozawa,I just need to hide the TotalPieces Variable while printing .. Would appreciate your advice ..In Crystal Reports we have supress checkBox .. Do we have similar way to hide the variable rgdsAjith 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