How to handle no data

  • Thread starter Thread starter Three
  • Start date Start date
T

Three

How do I set a default value or hide a calculated totals field at the end of
a report when no data is returned by the datasource?

I'd like to set either the totals fields to zero (currently shows error) or
otherwise hide them.

Cheers
 
Reports have a no data event. In that event, you could either change
(temporarily) the source of the controls OR hide the controls by setting their
visible property to false.

If you need help writing the necessary code then post back.
 
Back
Top