SQLSelect.Delete Method (Typed) | |
Delete the current row.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOSQLClasses (in XSharp.VOSQLClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD Delete() AS LOGIC CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public override bool Delete()
Request Example
View SourceReturn Value
Type:
Logic
TRUE if successful; otherwise, FALSE.
Remarks
The row is not deleted until the Commit() is invoked and is not deleted if Rollback() is invoked. Delete() sends a NotifyRecordChange message if successful.
If the server is currently positioned on the append buffer, SQLSelect:Delete() will cancel the pending update.
The type of SQL statement (searched or positioned) used by Delete() is determined by the system automatically, unless set to cursor, key, or value, using SQLSelect:ScrollUpdateType.
Tip |
---|
If the type of SQL statement used by SQLSelect:Delete() is "value", more than one row may be deleted, since the rows that are deleted are based on matching this value. |
See Also