Event for Closing Access

  • Thread starter Thread starter Joe Williams
  • Start date Start date
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
 
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.
 
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.
 
Back
Top