TransactionCommit

ACCPAC Common Controls

AccpacDBLink.TransactionCommit

Commits the current transaction on the database connection.

Function TransactionCommit(pTransLevel As Long) As Long

Parameters

pTransLevel

[out] returns the transaction level after the transaction is committed

Return Value

Returns a status code from the database layer. If the operation was successful, the function returns 0. If the function failed, it returns an error code as defined in DBS.H.