I've been using the nested IIF statement in my query using MS Access 97. I'm trying to use it MS Access 2003 and its coming up with syntax errors. The first thing the query does to my statement is convert the commas to vertical lines (|). When I change it back to commas, I still get a syntax error. Can anyone assist???
Qty Used: IIf([Category]=1,[Concentrate]/128*[Quantity],IIf([Category]=2,[Concentrate]*[Quantity],IIf([Category]=3,[Quantity]*1,IIf([Category]=4,[Concentrate]/99*[Quantity]))))
Thanks in advance.
Qty Used: IIf([Category]=1,[Concentrate]/128*[Quantity],IIf([Category]=2,[Concentrate]*[Quantity],IIf([Category]=3,[Quantity]*1,IIf([Category]=4,[Concentrate]/99*[Quantity]))))
Thanks in advance.