G
Guest
My function is:
Amt:=IIF(([Contract] =99999 And [GSTYN] = -1,[Amount]/1.07,[amount]))
The result I need in this function is " If contract # is 99999 and GSTYN =
-1 (yes) then Amount is devided by 1.07 other wise the amount is not devided
by 1.07"
Contract, GSTYN and amount are names of the fileds. GSTYN is a yes/no field.
I am getting an syntax error message. What am I missing? PLease help!
Amt:=IIF(([Contract] =99999 And [GSTYN] = -1,[Amount]/1.07,[amount]))
The result I need in this function is " If contract # is 99999 and GSTYN =
-1 (yes) then Amount is devided by 1.07 other wise the amount is not devided
by 1.07"
Contract, GSTYN and amount are names of the fileds. GSTYN is a yes/no field.
I am getting an syntax error message. What am I missing? PLease help!