Method DacSession():beginTransaction() Professional

Begins a transaction.

Syntax
:beginTransaction() --> lSuccess
Return

The method returns a logical value indicating whether a transaction is started (.T.) or not (.F.).

Description

If a server supports transaction processing, the method :beginTransaction() initiates a transaction on the server. Once a transaction is started, multiple database operations can be issued to become part of the transaction. When the transaction is complete, it can be committed by calling the method :commitTransaction(), or it can be aborted using :rollbackTransaction(). If a transaction is aborted, the database is left in the state that was current before the transaction.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.