Skip to main content
Previous sectionNext section

TStart

Marks the beginning of a transaction.

Synopsis

TStart

Arguments

The TStart statement does not have any arguments.

Description

TStart marks the beginning of a transaction. Following TStart, database operations are journaled to enable a subsequent TCommit or TRollback statement.

Any locks issued within a transaction will be held until the end of the transaction even if the lock is released.

Examples

The following example illustrates the use of the TStart statement:

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

See Also