|
This command aborts a database transaction that has been initiated with 'start_transaction()'. All database changes since initialization of the transaction will be undone. | ||||||
![]() |
This command must not be called with a conditional instruction. | ||||||
Syntax: |
|||||||
abort_transaction() | |||||||
I/O parameters:
|
|||||||
Return value: |
|||||||
|
|||||||
Example: |
|||||||
Declaration of Variables | |||||||
10 start_transaction() 20 update (...) .. .. 50 exec_update() 60 if (DOCU_LOGIC_1 == FALSE) .. .. 90 else 100 abort_transaction() 110 endif |
|||||||
Result: | |||||||
All changes of the database are undone. | |||||||
![]() |
Functions and commands: DB / Mask Interface |