Description
Deletes the current record from the DataSet object.
Syntax
bforward = DSODELETE (ctrlentID, ctrlclassID, DSOID)
Parameters
DSODELETE accepts arguments for the following parameters.
Parameter | Description |
---|---|
ctrlentID | Has the format WindowName.ControlName, where WindowName is the identifier of the window that contains the affected control, and ControlName is the identifier of the control. Notice that a period separates the two values. |
ctrlclassID | The type of control that recognizes the event. |
DSOID | The name of the DataSet, or the ordinal number of the DataSet (its position in the list of DataSets that appears in the Form Designer's Edit Selection Criteria dialog box). |
Returns
True or false. If false, then program execution returns to the calling procedure. If true, then event processing goes to the next level.
See also
Remarks
If this event is sent to a control rather than a form, it is assumed that any visual effects of the action on this control have already occurred. For example, the QuickEvents DSODELETEROWET and DSOINSERTROWET can be placed on the DELETEROW and INSERTROW events of an edit table to keep the Form and DataSet in sync.