15 The Btrieve (Pervasive.SQL) Driver : Transactions

Transactions
The Btrieve driver supports transactions. A transaction is a series of database changes that is treated as a single unit. In applications that so not use transactions, the Btrieve driver immediately executes Insert, Update, and Delete statements on the database files and the changes are automatically committed when the SQL statement is executed. You cannot undo these changes. In applications that use transactions, the Btrieve driver holds inserts, updates, and deletes until you issue a Commit or Rollback. A Commit saves the changes to the database file; a Rollback undoes the changes.
Transactions affect the removal of record locking. All locks are removed when SQLTransact is called with the Commit or Rollback option to end the active transaction.
To use the Btrieve driver’s transaction processing capabilities, consult the Pervasive documentation.