Skip to main content
Previous sectionNext section

TCommit

Marks the successful completion of a transaction.

Synopsis

TCommit

Arguments

The TCommit statement does not have any arguments.

Description

TCommit marks the successful end of a transaction initiated by the corresponding TStart.

Examples

The following example illustrates the use of the TCommit statement:

TStart
If StorePerson(personobject) Then
 TCommit
Else
 TRollback
End If
Copy code to clipboard

See Also