G
Guest
I really need some help with the following statement:
QTYTOBEORDERED: IIf([ORDERNOW]="YES",
IIF(Int(([NEWREORDERPT]+[NEWREORDERQTY])-([QTYONHAND]+[ONORDER]))-(([NEWREORDERPT]+[NEWREORDERQTY])-([QTYONHAND]+[ONORDER]))=0,
([NEWREORDERPT]+[NEWREORDERQTY])-([QTYONHAND]+[ONORDER]),
Int(([NEWREORDERPT]+[NEWREORDERQTY])-([QTYONHAND]+[ONORDER]))+1)),0),"")
Specifically, I keep getting the following error:
The expression you entered contains invalid syntax, or you need to enclose
your text data in quotes.
I am stumped! Any help with this is GREATLY appreciated. Thank you.
QTYTOBEORDERED: IIf([ORDERNOW]="YES",
IIF(Int(([NEWREORDERPT]+[NEWREORDERQTY])-([QTYONHAND]+[ONORDER]))-(([NEWREORDERPT]+[NEWREORDERQTY])-([QTYONHAND]+[ONORDER]))=0,
([NEWREORDERPT]+[NEWREORDERQTY])-([QTYONHAND]+[ONORDER]),
Int(([NEWREORDERPT]+[NEWREORDERQTY])-([QTYONHAND]+[ONORDER]))+1)),0),"")
Specifically, I keep getting the following error:
The expression you entered contains invalid syntax, or you need to enclose
your text data in quotes.
I am stumped! Any help with this is GREATLY appreciated. Thank you.