Force use of exit button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
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
 
Back
Top