M
Michele E
I have a report which initially opens a form to input a start and end date in
for the report information. One of the calculated reports items is a % of bad
rolls produced. My report opens; I input the dates and it then runs a query
based on those dates. It takes the data (put into another form) with fields
of "total rolls produced" and "off quality rolls" and divides the "off
quality" by the "total" to give a % bad value. The report works great IF the
"total rolls produced" is not zero. If we do not produce any rolls that day
(due to maintenance problems, etc...) then the report will not open. I just
get the query results with ERR in that field.
I tried to use the IIF([total rolls produced]=0,Null,[of quality
rolls]/[total roll produced]), but this still would not run the report if
zeros are in the "total rolls produced field". Do you know how I can have the
report still run, but just have a blank or even ERR on the report to come up?
Thanks.
Michele E
for the report information. One of the calculated reports items is a % of bad
rolls produced. My report opens; I input the dates and it then runs a query
based on those dates. It takes the data (put into another form) with fields
of "total rolls produced" and "off quality rolls" and divides the "off
quality" by the "total" to give a % bad value. The report works great IF the
"total rolls produced" is not zero. If we do not produce any rolls that day
(due to maintenance problems, etc...) then the report will not open. I just
get the query results with ERR in that field.
I tried to use the IIF([total rolls produced]=0,Null,[of quality
rolls]/[total roll produced]), but this still would not run the report if
zeros are in the "total rolls produced field". Do you know how I can have the
report still run, but just have a blank or even ERR on the report to come up?
Thanks.
Michele E