Επεξεργασία

Κοινή χρήση μέσω


CancelUpdate Method (RDS)

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

Important

Beginning with Windows 8 and Windows Server 2012, RDS server components are no longer included in the Windows operating system (see Windows 8 and Windows Server 2012 Compatibility Cookbook for more detail). RDS client components will be removed in a future version of Windows. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Applications that use RDS should migrate to WCF Data Service.

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.

Applies To

DataControl Object (RDS)

See Also

CancelUpdate Method Example (VBScript)
Address Book Command Buttons
Cancel Method (ADO)
Cancel Method (RDS)
CancelBatch Method (ADO)
CancelUpdate Method (ADO)
Refresh Method (RDS)
SubmitChanges Method (RDS)