Hide #Error

  • Thread starter Thread starter jnew
  • Start date Start date
J

jnew

Greetings,

A control on my report captures a value from a subreport.
If the subreport has no data, however, the control
displays #Error. Is there an expression or procedure that
will display a blank (null) instead of the error message?

Any help will be appreciated.
 
Test the HasData property of the report in the subreport control.

=IIf([MySubreport].[Report].[HasData],
Nz([MySubreport].[Report].[MyTextbox], 0), 0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top