Version

CancelUpdate Method

Cancels the update of the record when data has been changed (similar to pressing ESC).
Syntax
'Declaration
 
Public Function CancelUpdate() As Boolean
public bool CancelUpdate()
Remarks

When the CancelUpdate method is invoked for a record, any changes made to the cells of record are backed out. The cells then display their original values, and the record is taken out of edit mode. The record selector indicator changes from the "Write" image back to the "Current" image. The IsDataChanged property will be set to false.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also