jhustinel Posted February 6, 2015 Share Posted February 6, 2015 I have a variable $V{Col_Var} and I've edited the expression like this : ($F{debit}.intValue()==0 ? -$F{credit}.intValue() : $F{debit}.intValue() )but when I call the varible in the other expression. It seems that the $V{Col_Var} variable dont store the value when the expression is already been initialized. For example : $V{REPORT_COUNT}.intValue() == 1 ? $P{param1}.intValue()+$V{Col_Var}.intValue():$V{Col_Var}.intValue() or even just a simple $V{Col_Var} to print-out the values after its been initialized. Any ideas on how will i get the value of $V{Col_Var}? Any help is appreciated. Thanks in advance. 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