[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 330
  • Last Modified:

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.  
0
snyperj
Asked:
snyperj
  • 2
1 Solution
 
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

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now