J
Jonathan Scott via AccessMonster.com
I'm in Access97, and I'm trying to keep my queries tied to my Reports by
actually keeping the query inside the report.
Problem is, I am not able to gracefully quit my report if there is in fact
no data applicable for the report. DoCmd.Quit() just quits the application;
DoCmd.CancelEvent() causes an error to appear, confusing the user (there
was no real error); Exit Sub just prints the report filled with errors
because there is no data to fill in the form with.
Is there a graceful way to keep report queries in their proper place,
inside reports, and not cause confusing problems for the user by gracefully
exiting?
Jonathan Scott
actually keeping the query inside the report.
Problem is, I am not able to gracefully quit my report if there is in fact
no data applicable for the report. DoCmd.Quit() just quits the application;
DoCmd.CancelEvent() causes an error to appear, confusing the user (there
was no real error); Exit Sub just prints the report filled with errors
because there is no data to fill in the form with.
Is there a graceful way to keep report queries in their proper place,
inside reports, and not cause confusing problems for the user by gracefully
exiting?
Jonathan Scott