#

# LogiView

## Command 'end_transaction'

| This command ends a transaction that has been initiated using 'start_transaction'. All changes are saved.
| This command must not be called in a conditional instruction.
| ### Syntax:
| end_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 end_transaction()
    110 endif
| Result:
| All changes of the database are saved.
| Functions and commands: DB / Mask Interface