Trapping The Close Button

E

Eric

Is it possible to trap the Close Button (the X at the top
right-hand corner) of the Access application?

Allow me to qualify this by saying that it is different to
the Close button that appears on the forms. The Close
button can be switched on and off via the properties of
the form.

I need to trap for this because it is not intended that
users exit the Access application in this manner, but
rather through a button which logs user history of logouts.
 
A

Allen Browne

There is no built-in event for this.
It is commonly simulated with the Close event of a hidden form.
 

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