Display error on nodata in subreport.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way that I can display an error message if there is no data in a
subreport and cancel printing?

Thanks
 
You could try to build a hidden sub-form on the report data, and run an IF
statement to see if it returned Null. If so, trigger your error, if not then
continue with your report.

Good luck.

Sharkbyte
 
Thanks for the idea Shark,
after about a 1/2 hour I finaly got it to work the way I needed.
 

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