TRANSACTION Property
10.5, PLBCMP GUI Only
The TRANSACTION property enables or disables transactions. The property uses the following format:
TRANSACTION={value}
Note the following:
TRANSACTION may be used in CREATE, GETPROP, or SETPROP statements of a DATATABLE.
When transactions are enabled, the DATATABLE tracks all operations using an undo stack. This allows the PL/B program to execute the 'Commit', 'Rollback', and 'Undo' methods for the DATATABLE.
{value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
|
Value |
Keyword |
Transactions are ... |
|
0 |
$OFF |
disabled (default). |
|
1 |
$ON |
enabled. |
The UNDO stack only contains the last one hundred (100) actions since the last COMMIT or ROLLBACK.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |