Hi all,
I have a routine behind a command button that opens a report. And, of course, a 'cancel' event in the 'On No Data' property. The purpose for the report is to display data to the user, based on who is logging in to the database (the report) before the application displays the Main menu. So, obviously, there are two paths to go down.
Path 1: The report indeed has data to display for the user logging in. It displays the report > user closes the report > opens the Main Menu.
Path 2: No data for the user logging in. In this case, the message is displayed (from the 'On No Data' property) as intended. When the User clicks the OK button to clear the message box, the Main Menu is displayed (again as intended). However in this case, the Error Message pops up with the standard End/Debug options.
QUESTION: Is there a way for me to ignore (and/or suppress) that error message dialog from popping up. It is 'scary' to the casual users, and an annoyance to others.
Thanks in advance. And, as usual, if there is simply a keyword you can use to 'point me' - I am happy to chase an answer from there.
FedBrad