TransactionBegin

ACCPAC Common Controls

AccpacDBLink.TransactionBegin

Begins a transaction on the current database connection.

Function TransactionBegin(pTransLevel As Long) As Long

Parameters

pTransLevel

[out] returns the transaction level after the transaction begins

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.