project BLF > class Persistence (Progress) > method AbortTransaction

Description

Undo all updates made to the database since last InitTransaction. Must be called when an error occurs during update.

PreCondition

This method is used in methods DataSave and CommitTransaction. It should not be used anywhere else.


Parameters


oiReturnStatusoutputinteger


Internal usage


unused


program code (program1/progress.p)

/* database update logging REQUIRES a handle, so pass any valid handle */
publish "Logging.DatabaseAccess" ("undo transaction", this-procedure).