on exit ?

  • Thread starter Thread starter john celery
  • Start date Start date
J

john celery

how ca I hook into an event like the form_close but for
the database or access shell ?

What I'd like to do is run a function whenever the user
exits the database.


thanks,
Johnny
 
Create a form that will be invisible. Put your exit code into that form's
Close event.

If you don't already have an Autoexec macro, create one. In the Autoexec
macro open that form.

When the user exits your application Access will close all open forms.

HTH
 
Back
Top