B
Banna
Guest
The long and the short of it, I know enough about Access to be dangerous but not enough to be effective.
I have a query which I have written an expression as follows:
expr1:100-([sumofquantity]/[built]*100). "sumofquantity is a query and built is a table. In many cases when there are no units built, the entry is a zero. With this formula,the division by zero results in "#error" message. I tried to write an "if" statement in criteria but it results in a "overflow" error.
=if([built=0,"","sumofquantity/built")
How do I write the expression so there is no "#error"and the field is either left blank or defaults to zero.
I appreciate everyone's patience with the not so skilled.
Brian
I have a query which I have written an expression as follows:
expr1:100-([sumofquantity]/[built]*100). "sumofquantity is a query and built is a table. In many cases when there are no units built, the entry is a zero. With this formula,the division by zero results in "#error" message. I tried to write an "if" statement in criteria but it results in a "overflow" error.
=if([built=0,"","sumofquantity/built")
How do I write the expression so there is no "#error"and the field is either left blank or defaults to zero.
I appreciate everyone's patience with the not so skilled.
Brian
Last edited: