mhbashar1 Posted December 29, 2007 Share Posted December 29, 2007 I have a field $F{SUM(total)} and a variable-$V{grand_total}.I want to assign a value to this field.I did the following in the expression editor of the field.$V{grand_total}=$F{SUM(total)}But it gives the error-The left-hand side of an assignment must be a variable value = (java.lang.Double)(((java.lang.String)variable_total.getValue())=((java.lang.Double)field_SUM40total_price41.getValue()));//$JR_EXPR_ID=10$ How to do it.At the same time,I want to show the value in that Field. 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