Event for Closing Access

J

Joe Williams

Is there an event that I can trigger if a user decides to close access by
just clicking the "x" in the upper right hand corner?

I have an event that I want to run when the user logs off, but if there user
decides not to close the forma nd just closes access I still want to have
this event happen.

How can I accomplish this?

THanks

Joe
 
R

Rick Brandt

Joe Williams said:
Is there an event that I can trigger if a user decides to close access by just
clicking the "x" in the upper right hand corner?

I have an event that I want to run when the user logs off, but if there user
decides not to close the forma nd just closes access I still want to have this
event happen.

How can I accomplish this?

Use the close event of a form that is opened at startup and says open the entire
time. If you don't already have a form like this (a Switchboard for example)
then open a small hidden form expressly for this purpose.

The close event of all open forms does fire when Access is closed.
 
J

Joe Williams

THanks Rick, that works!

Joe


Rick Brandt said:
Use the close event of a form that is opened at startup and says open the
entire time. If you don't already have a form like this (a Switchboard
for example) then open a small hidden form expressly for this purpose.

The close event of all open forms does fire when Access is closed.
 

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

Top