ACC: How to Create an Undo Record Button on a Form (101079)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
This article was previously published under Q101079
Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
Microsoft Access versions 1.x and 2.0 do not have a built in way to undo
changes made to the current record. This article demonstrates a sample
user-defined Access Basic function that you can use to undo changes made to
the current record.
NOTE: In Microsoft Access for Windows 95 version 7.0, you can create a
button to undo the current record by using the Command Button Wizard. For
more information about the undo record command button, search for "Undoes,"
and then "Create Command Button That Adds, Deletes, Duplicates, Prints,
Saves, And Undoes Current Record" using the Microsoft Access for Windows 95
Help Index.
NOTE: This article explains a technique demonstrated in the sample
files, FrmSampl.exe (for Microsoft Access for Windows 95 version 7.0)
and FrmSmp97.exe (for Microsoft Access 97). For information about how
to obtain these sample files, please see the following articles in the
Microsoft Knowledge Base:
150895 ACC95: Microsoft Access Sample Forms Available in Download Center
175066 ACC97: Microsoft Access 97 Sample Forms Available in Download Center
REFERENCES
For more information about the command DoMenuItem, search for "DoMenuItem"
using the Microsoft Access Help menu.
Modification Type: | Major | Last Reviewed: | 5/6/2003 |
---|
Keywords: | kbhowto kbusage KB101079 |
---|
|