prohibiting use of the Access Close button

I would like to force users to use a 'quit' button instead of clicking the X in the top RH corner.  I am thinking I can somehow use a variable that is read in the unload event of the form.  However, I am not sure what code to put in the unload event that would 'cancel out' them closing the database using the X.  
snyperjAsked:
Who is Participating?
 
Rey Obrero (Capricorn1)Commented:
see the method use in this link

Prevent Access from closing
http://www.mvps.org/access/general/gen0005.htm
0
 
Rey Obrero (Capricorn1)Commented:
here is another method

How to disable the Close button on the Application window and the Exit command on the File menu
http://support.microsoft.com/?kbid=300688
0
 
snyperjAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.