SQLSelect.Update Method (Usual) | |
Update the current row or restore the original values of the row.
Namespace:
VO
Assembly:
VOSQLClasses (in VOSQLClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD Update(
lUpdateFlag
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual Update(
Usual lUpdateFlag = default
)
Request Example
View SourceParameters
- 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