Actions on closing a Database

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to carry out some proceedures everytime a database is closed. I
do not want to attach the proceedures to a comand button that I create, but
want the proceedures to run automatically when a user closes the database by
<File> <Exit> or the main access window close button.

Any suggestions? Many thanks
 
John said:
I would like to carry out some proceedures everytime a database is
closed. I do not want to attach the proceedures to a comand button
that I create, but want the proceedures to run automatically when a
user closes the database by <File> <Exit> or the main access window
close button.

Any suggestions? Many thanks

If you have a form that is always open then put your code in the unload or close
event of that form. If you don't have such a form then create a form
specifically for this purpose and open it hidden at appliction startup.
 
Back
Top