If you want to display the report but don't want #Error to display in calculated text boxes, use an expression like:
=IIf([HasData], Sum([YourField]),0)
This assumes the control source of your text box currently is:
=Sum([YourField])
Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
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.