ACC2000: How to Control How the User Closes a Form (219776)
The information in this article applies to:
This article was previously published under Q219776 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SUMMARY
A Microsoft Access form has a CloseButton property, which you can use to prevent a user from closing the form with either the Close Button icon or by clicking Close on the File menu. However, the user can still close the form by pressing ALT+F4. This article shows you how to prevent the user from closing a form by pressing ALT+F4.
REFERENCESFor more information about events, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type events and event properties Reference in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbhowto KB219776 |
---|
|