skyer20032003 Posted September 16, 2022 Share Posted September 16, 2022 This is my variable setting: Name: testValue Class Name: java.lang.IntegerCalculation: SumExpression:$F{RPTBAMF_NUMBER}Initial Value Expression:$F{RPTBAMF_INIT}Increment type:NoneReset type: Report I want to add RPTBAMF_INIT as my starting value, but no matter how you do it, it does not work.I also tried adding 5 or new Integer(5), The result is still does not work. Any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
yama818 Posted September 17, 2022 Share Posted September 17, 2022 Let me confirm your question.For example, here is the reportDoes 'Your test' in the first line mean that '25' is the expected value, not '20'?If my understanding of the above is correct, then one solution to get '25' is as follows1. Create a 'test_init_val' in Variable.2. Write '$V{test_init_val}+$V{test}' in the Text Field expression. 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