Equinox Online Help - Language Reference - A to Z
DeleteRecord |
|
---|---|
Applies to | |
Syntax | DeleteRecord [ConfirmExpression] |
Action | [Statement] Deletes the current record. |
Scope | Usable anywhere. |
Notes | This statement deletes the current record. If the optional argument, ConfirmExpression, evaluates to True, then the confirmation dialog appears. It defaults to False if omitted. After the statement is executed, the SysError system workarea may take one of the following values:
|
Category | Record editing |
See Also | BlankRecord, FieldChanged, InsertRecord, IsField, ReplaceRecord |
Example | This example, attached to a button's This Button event, deletes the current record. if SysMode = ViewMode, NoMode then DeleteRecord true |