closing a form (disabling close)

pauly

Registered User.
Local time
Today, 18:02
Joined
Jul 8, 2002
Messages
49
Hi, i am just wondering if ther is any way to be able to disable the close of a form. I have diabled the X (close) button and control box, but if you press CTRL - W, the form still closes. The cituation that i am in is a log in screen, so it needs to be secure. One way i approached the problem was to DoCmd.quit when the form_close function is called, but that has problems as when you open the main menu and close the log in screen, DoCmd.quit is called and the program exits, any help would be much appreciated
 
Pauly,

Any reason why you aren't using User-level security?
 
yes, because i dont know how to use it. Is it easier than using such a design?
 
There have been many posts on preventing form/Access closures search here for CanClose.
HTH
 

Users who are viewing this thread

Back
Top Bottom