CancelUpdate Method (RDS)

Microsoft ActiveX Data Objects (ADO)

RDS 2.5 API Reference

CancelUpdate Method (RDS)

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.

See Also

VBScript Example

Address Book Command Buttons | Cancel Method | Cancel Method (RDS) | CancelBatch Method | CancelUpdate Method | Refresh Method (RDS) | SubmitChanges Method (RDS)

Applies To: DataControl Object (RDS)

© 1998-2003 Microsoft Corporation. All rights reserved.