Click or drag to resize

SQLSelect.Update Method (Usual)

X#
Update the current row or restore the original values of the row.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOSQLClasses (in XSharp.VOSQLClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD Update(
	lUpdateFlag
) AS LOGIC CLIPPER
Request Example View Source

Parameters

lUpdateFlag (Optional)
Type: Usual

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
The type of SQL statement (searched or positioned) used by Update() is determined by the system automatically, unless set to cursor, key, or value, using SQLSelect:ScrollUpdateType. SQLSelect:Update() is invoked automatically if a field's value is changed (using SQLSelect:FieldPut()), and then a positioning operation (such as Skip()) was requested. When executed successfully, this method sends a NotifyRecordChange message to this data server's clients.
See Also