Name
Recordset.CancelUpdate Method — (Versions 2.0, 2.1, 2.5, 2.6)
Synopsis
recordset.CancelUpdateThe CancelUpdate method cancels any changes to the current batch update made since the last AddNew or Update method calls.
Description
The CancelUpdate method of the Recordset object cancels any changes that were made to a record since a call to the Update method of that Recordset. In addition, the CancelUpdate method cancels the creation of a new record by the AddNew method.
The CancelUpdate method must be called before the Update method for the current record. The only other way to cancel the changes to a record is by using transaction management through the BeginTrans and RollbackTrans methods of the Recordset object.
See Also
Recordset.AddNew Method, Recordset.Update Method
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access