Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

prohibiting use of the Access Close button

Posted on 2011-02-19
3
Medium Priority
?
326 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 2000 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

650 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