Link to home
Start Free TrialLog in
Avatar of ExpressMan1
ExpressMan1Flag for Canada

asked on

IIf query syntax in Make table query

I am getting a error with the following make table query,

BaseCost: IIf([Weight]<100,[Cost]),IIf([Weight]>100,[Cost]*[Weight])

Error: "contains invalid syntax or you need to enclose your text data in quotes"

If i try the first part only it works, BaseCost: IIf([Weight]<100,[Cost])
ASKER CERTIFIED SOLUTION
Avatar of Norie
Norie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ExpressMan1

ASKER

Perfect. Thank You imnorie.