Jump to content
We've recently updated our Privacy Statement, available here ×

Having a problem with variables and the IF function


gregory.west
Go to solution Solved by zh3ntil,

Recommended Posts

I have a query that is returning data,  I need to do a sum of a field QTY based on a value of partnumber.   This is the expression I am using for the Variable:

IF($F{partnumber}="90000013",$F{qty},0.00)

Jasper is telling me that this is not valid.  I have tried it with quotes and apostophies around the 90000013 and get the same thing.  For the life of me I can not find the syntax error.   Can anyone help?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...