--- title: "CancelUpdate Method (RDS) | Microsoft Docs" ms.prod: sql ms.prod_service: connectivity ms.technology: connectivity ms.custom: "" ms.date: "01/19/2017" ms.reviewer: "" ms.topic: conceptual apitype: "COM" helpviewer_keywords: - "CancelUpdate method [RDS]" ms.assetid: 76d8a6e9-bc6c-4ea0-8e7a-2bae5ed06650 author: MightyPen ms.author: genemi --- # CancelUpdate Method (RDS) Cancels any changes made to the current or new row of a [Recordset](../../../ado/reference/ado-api/recordset-object-ado.md) 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](https://www.microsoft.com/download/details.aspx?id=27416) 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](https://go.microsoft.com/fwlink/?LinkId=199565). ## Syntax ``` DataControl.CancelUpdate ``` #### Parameters *DataControl* An object variable that represents an [RDS.DataControl](../../../ado/reference/rds-api/datacontrol-object-rds.md) 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)](../../../ado/reference/rds-api/datacontrol-object-rds.md) ## See Also [CancelUpdate Method Example (VBScript)](../../../ado/reference/rds-api/cancelupdate-method-example-vbscript.md) [Address Book Command Buttons](../../../ado/guide/remote-data-service/address-book-command-buttons.md) [Cancel Method (ADO)](../../../ado/reference/ado-api/cancel-method-ado.md) [Cancel Method (RDS)](../../../ado/reference/rds-api/cancel-method-rds.md) [CancelBatch Method (ADO)](../../../ado/reference/ado-api/cancelbatch-method-ado.md) [CancelUpdate Method (ADO)](../../../ado/reference/ado-api/cancelupdate-method-ado.md) [Refresh Method (RDS)](../../../ado/reference/rds-api/refresh-method-rds.md) [SubmitChanges Method (RDS)](../../../ado/reference/rds-api/submitchanges-method-rds.md)