Description
Event that triggers writing of DataSet updates to the data source.
Syntax
bforward = DSOCOMMIT (ctrlentID, ctrlclassID, DSOID, ExecuteAfterCommit, CommitTransaction)
Parameters
DSOCOMMIT 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). |
ExecuteAfterCommit | Code that is to be executed after the commitment. |
CommitTransaction | Indicates that a commit transaction should occur at the data source - supported only by databases that support transaction control. |
Returns
True or false. If false, then program execution returns to the calling procedure. If true, then event processing goes to the next level.