Solved

prohibiting use of the Access Close button

Posted on 2011-02-19
3
316 Views
Last Modified: 2012-05-11
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
Comment
Question by:snyperj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 34935733
see the method use in this link

Prevent Access from closing
http://www.mvps.org/access/general/gen0005.htm
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 34935736
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
 

Author Closing Comment

by:snyperj
ID: 34935743
thanks
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question