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.

ParameterDescription
CtrlentIDHas 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.
CtrlclassIDThe type of control that recognizes the event.
DSOIDThe 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).
ExecuteAfterCommitCode that is to be executed after the commitment.
CommitTransactionIndicates 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.

See also

DSOROLLBACK eventIOOPTIONS property

  • No labels