Description

Controls transaction processing.

Note: The TRANSACT volume (in the RevSoft\OI32bit folder) must be attached for transaction control to be enabled.

Syntax

Transact (Action, SQLstate)

Parameters

The Transact subroutine has the following parameters.

ParameterDescription
Action

Action requested for transaction processing:

ActionMeaning
0Rollback transaction
1Commit transaction
2Initialize transaction processing
SQLstateA variable which, after the call to Transact, will hold the return code. If SQLstate = 0, the call was successful. Otherwise, the call was unsuccessful. Pass a variable initialized to null.

See also

Control_OffAttach_TableControl_On

  • No labels