Do something Before Access close ...

H

Harry H

Hi all, I am using Access XP and have many forms opened. I need Access to do
something before Access close my application (example: user try to close MS
Access before closing all open forms in the application first).

Thanks in advance.
 
O

Ofer Cohen

If there is a form (MainForm) that always open when you run the MDB, and it
doesn't close until you close the MDB, use the Unload event of that form to
run the code you need to be run when the MDB close
 
H

Harry H

Work! Thanks....

Ofer Cohen said:
If there is a form (MainForm) that always open when you run the MDB, and it
doesn't close until you close the MDB, use the Unload event of that form to
run the code you need to be run when the MDB close
 
Top