Pop up message on close of DB

ninja_imp

Registered User.
Local time
Today, 11:08
Joined
Apr 11, 2006
Messages
50
How can i setup a popup message when the user closes the DB.

I need to have an reminder to the user every time they shut the program down!
 
sorry - not really sure how to do this.

How does it call this when the DB is closed
 
do you have a switchboard or a form that is always open?
 
The common technique is to create a blank form and run your code from the form's unload event which you can cancel if necessary. You then open this form as your startup form and have this form hide itself and open your regular switchboard. When Access is shut down, this hidden form will be the last form closed and it will run your "exit" code as it attempts to unload itself.
 

Users who are viewing this thread

Back
Top Bottom