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:

  1. TRANSACTION may be used in CREATE, GETPROP, or SETPROP statements of a DATATABLE.

  2.  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.

  3. {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:

  4.  

    Value

    Keyword

    Transactions are ...

    0

    $OFF

    disabled (default).

    1

    $ON

    enabled.

     

  5. 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

 



PL/B Language Reference TRAILINGCOLOR Property TREELNSTYLE Property