BeginTrans - method of the PmaDatabase object
Description:
It is used for specifying the begin of the transaction processing of the database table
Syntax:
Empty BeginTrans()
Note:
All methods for the modification of the database table (called after calling this method), will be effective only after calling the
Commit method (if the
Commit method is not called, then these modifications will not proceed in the table).
The transaction processing cannot be supported by some databases, for example databases
Excel,
dBase,
PARADOX, basic version of the
MySQL database, etc.
Example:
JavaScriptVBScriptSelect and copy to clipboard
oDb.BeginTrans();
oDb.BeginTrans