select amtsold, price, [price]/[amtsold] as pf from table1
the column that I have a problem is the column with [price]/[amtsold], if the division is not by zero, then the number come out correctly, if it is divided by zero, then it shows #error in the query output
thanks for replying