E
Eric G
I currently have a custom menu with just one drop-down:
File:
Print preview/Print/Close/Exit
After a report is viewed/printed the correct command to use is Close.
But if the admin. mistakenly presses Exit from the drop-down menu the
app closes without certain VB commands being run. In other words, it
seems that when the app Exits, it bypasses the form's OnClose
commands.
How can I, at the same time, protect against the admin from clicking
on the Exit command from the menu, and still have an escape route, to
exit the app.?
I thought about removing the Exit command from the Menu and putting an
Exit button on the main menu (form). Is this a wise way to go? And is
there a way to have VB commands run automatically, as an app Exits?
Thanks Eric
File:
Print preview/Print/Close/Exit
After a report is viewed/printed the correct command to use is Close.
But if the admin. mistakenly presses Exit from the drop-down menu the
app closes without certain VB commands being run. In other words, it
seems that when the app Exits, it bypasses the form's OnClose
commands.
How can I, at the same time, protect against the admin from clicking
on the Exit command from the menu, and still have an escape route, to
exit the app.?
I thought about removing the Exit command from the Menu and putting an
Exit button on the main menu (form). Is this a wise way to go? And is
there a way to have VB commands run automatically, as an app Exits?
Thanks Eric