ACC2000: Unable to Undo or Rollback Main Form and Subform Changes (208833)
The information in this article applies to:
This article was previously published under Q208833 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
When you make editing changes to a main form record and one or more subform
records, and then click Undo Saved Record on the Edit menu, Microsoft
Access does not undo changes that you made to the main form and the subform
together.
If focus is in the main form, Undo Saved Record will undo changes to the
main form record only. If focus is in the subform, Undo Saved Record will
undo the changes that you made to the last record, but not to other records that you may have edited in the subform.
CAUSE
Because Access does not group edits made to the main form record
and edits made to one or more subform records in a single transaction, Access cannot roll back the changes as a single unit.
RESOLUTION
To work around to this behavior, you may find the technique demonstrated in the sample file, FrmSmp00.mdb useful. For information on how to obtain FrmSmp00.exe, please see the following article in the Microsoft Knowledge Base:
233324 Microsoft Access 2000 Sample Forms Database Available in Download Center
Modification Type: | Major | Last Reviewed: | 6/28/2004 |
---|
Keywords: | kbprb kbusage KB208833 |
---|
|