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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top