Question : If in query

I am creating a Margin field in a query. The formula devides by [Standard Price] which is sometimes Zero giving an error. I tried to use an IF function but the query designer returned a nudefined if function error. How do I work around the zero devisor in a query?

Answer : If in query

change the IF  to IIF
Random Solutions  
 
programming4us programming4us