ilovebbq Posted March 30, 2012 Share Posted March 30, 2012 ------------------------------------------------------------------------------------------| Blah Blah Blah || | <-- Page 1| total | 10 | 20 | 30 | 60 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| Blah Blah Blah || | <-- Page 2| total | 10 | 20 | 30 | 60 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| Blah Blah Blah || | <-- Page 3| total | $v{123} | 10 | 70 | 90 | <-- footer 1| Overall total | $v{abc} | 30 | 100 | 150 | <-- footer 2------------------------------------------------------------------------------------------Hi My question here is how can i sum up the "Overall total" by getting the value from "total"?For example a variable $v{abc} for Overall total is created and it properties I set to:Variable Class: java.math.BigDecimalCalculation : SumReset type : ReportReset group : -increment type : Noneincrement group:-......Variable Expression: $v{123}===================================================The output result for Overall total is wrong so anyway for me to fix it?thanks for help. Link to comment Share on other sites More sharing options...
vindeel Posted March 30, 2012 Share Posted March 30, 2012 $v{123} should have reset type Page, and $v{abc} should have reset type Report. Based on your example, that should suffice. 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