DBCreator.TransactionFinish

Description

Finishes a current transaction started by TransactionStart

Syntax

Function TransactionFinish(commit = true|false)

Parameters

commit (input) - boolean value, choose whether you want to commit the operations contained in the transaction (true). Otherwise, they are aborted (false)

Return value

none

Example

Sample code

DB.TransactionStart() 

Do

   DB.UpdateStart()

   DB.SetCellNull "Field1"

   DB.UpdateFinish()

Loop While( DB.GoNext() )

DB.TransactionFinish()

End If

See also

Platform Objects and Methods

DB.sort

DB.AppendFinish

DB.SetFieldValue

DB.TransactionFinish

DB.TransactionStart

DBCreator.TransactionStart