withevents help

G

Gordon

I need to trap when MS Access is closing and empty the database tables.
I think using withevents will allow me to do this, any one understand how
it works?

Samples would be very useful.

Gordon
 
S

Stephen Lebans

Rather than having to subclass the Access App window you are better off
simply keeping a hidden form open. In it's Close event take whatever
actions you require.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Top