Force use of exit button

K

KT

I have my db set up so that when users login their username gets stored in a
table with the time/date they logged in. Ditto for exiting the db if they use
my custom exit button. Problem is some people use the little "x" button in
the upper right to close down access. Can I remove that button so they have
to use my exit button or is there another way to store that info (I was using
the on_click action for the button)?

Thanks,
KT
 
J

Jeff Conrad

I have exactly the same setup.
Here is some info that should help.

I use these techniques. They work great.
Take your pick based on version.

ACC: How to Disable the Close Button (X) on the Access
Application Window (95/97)
http://support.microsoft.com/?id=258049

ACC2000: How to Disable the Close Button (X) on the Access
Application Window
http://support.microsoft.com/?id=245746

ACC2002: How to Disable the Close Button (X) on the Access
Application Window and the Exit Command on the File Menu
http://support.microsoft.com/?id=300688

Alternatively, take a look here:

http://www.mvps.org/access/general/gen0005.htm
 
K

KT

Exactly what I needed. Thanks!

Jeff Conrad said:
I have exactly the same setup.
Here is some info that should help.

I use these techniques. They work great.
Take your pick based on version.

ACC: How to Disable the Close Button (X) on the Access
Application Window (95/97)
http://support.microsoft.com/?id=258049

ACC2000: How to Disable the Close Button (X) on the Access
Application Window
http://support.microsoft.com/?id=245746

ACC2002: How to Disable the Close Button (X) on the Access
Application Window and the Exit Command on the File Menu
http://support.microsoft.com/?id=300688

Alternatively, take a look here:

http://www.mvps.org/access/general/gen0005.htm
 

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