CancelUpdate Method

Discards all the pending changes associated with the specified Recordset object, thus restoring the values since the last Refresh method call.

Syntax

AdvancedDataControl.CancelUpdate

Part Description
AdvancedDataControl An object variable that represents an AdvancedDataControl object.

Applies To

AdvancedDataControl

Remarks

The Advanced Data Virtual Table Manager keeps both a copy of the original values and a cache of changes. When you call CancelUpdate, the cache of changes is reset to empty, and the bound controls are refreshed with the original data.

Example

See Also

Address Book Command Buttons, Refresh Method, SubmitChanges Method, Using AdvancedDataControl to Pass Updated Recordsets to the Middle Tier


© 1997 Microsoft Corporation. All rights reserved. Terms of Use.