MDAC 2.5 SDK - ADO


 

CancelUpdate Method (RDS)

See Also    Example    Applies To

Cancels any changes made to the current or new row of a Recordset object.

Syntax

DataControl.CancelUpdate

Parameters

DataControl   An object variable that represents an RDS.DataControl object.

Remarks

The Cursor Service for OLE DB 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 any bound controls are refreshed with the original data.