I have a series of calculated fields on my report which show #Error when there is no value generated by a query. I want to change the field value to 0 if the query/sub-report returns the #Error.
Have a look in Access help...has clear documentation on Nz function.
If you errors are in fact due to null's (not sure if this is right or not), then the Nz function allows you to substitute any null's with a number of your choice.
Example : Nz([value],0) will change any null values in the [value] field to a zero.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.