Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Event When Closing Current Database 1

Status
Not open for further replies.

DougAtAvalon

Programmer
Jan 29, 2001
99
US
How Can I write some code when i person closes the Database if the min/max buttons are enabled on forms etc.

-Doug
 
I'm not sure if I understand the question correctly, but if you are trying to make sure some code runs each time the database is closed, you can open a hidden form when the database is open and place the code that you want to run on the 'on unload' event of the hidden form. When the user closes the database, the hidden form will be 'unloaded' and your code will run. Mike Rohde
rohdem@marshallengines.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top