Click or drag to resize

SQLSelect.Update Method (Usual)

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

Namespace:  VO
Assembly:  VOSQLClasses (in VOSQLClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Update(
	lUpdateFlag
) AS USUAL CLIPPER
Request Example View Source

Parameters

lUpdateFlag (Optional)
Type: Usual

Return Value

Type: Usual
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