ACC2: How to Prompt User to Save Changes to Record in FormLast reviewed: February 27, 1998Article ID: Q181820 |
The information in this article applies to:
SUMMARYModerate: Requires basic macro, coding and interoperability skills. When you move to the next record or close a Microsoft Access form, Microsoft Access automatically saves any changes that you have made to the current record. This article demonstrates how to use a BeforeUpdate event procedure that prompts you to verify the save operation before continuing.
MORE INFORMATIONCAUTION: Following the steps in this example will modify the sample database NWIND.MDB. You may want to back up the NWIND.MDB file and perform these steps on a copy of the database. This example uses the BeforeUpdate event procedure in the Customers form to prompt the user to confirm changes before saving.
REFERENCESFor more information about how to prompt a user to save a record in Microsoft Access 7.0 or 97, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q175911 TITLE : ACC: How to Prompt User to Save Changes to Record in Form(95/97)For more information about undoing the current record in the BeforeUpdate event, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q97525 TITLE : ACC: UndoCurrentRecord in BeforeUpdate Property Causes Error |
Additional query words: inf saving ask asking
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |