Syntax Error

Kira

Registered User.
Local time
Today, 04:17
Joined
Jul 7, 2008
Messages
40
I have had this expression work before, but I accidentally deleted it and when I put it back in it came up with this: Syntax Error (comma) in the expression

Actual Quantity: IIf([Transaction Types].[Add/Remove]="Addition",[Inventory Transactions]!Quantity,-([Inventory Transactions]!Quantity))

Know what's wrong with it?
 
not exactly sure, but i think it might have a problem with this
Actual Quantity: IIf([Transaction Types].[Add/Remove]="Addition",[Inventory Transactions]!Quantity,-([Inventory Transactions]!Quantity))
 
what specifically? I tried deleting those three. And one at a time, but the error still comes up.
 
Try this
Code:
Actual Quantity: IIf([Transaction Types].[Add/Remove]="Addition",[Inventory Transactions].Quantity, -1*([Inventory Transactions].Quantity))
 

Users who are viewing this thread

Back
Top Bottom