OP Cancel transaction

4D - Documentation   Français   English   German   4D Open for 4D, Command Theme List   4D Open for 4D, Command Alphabetical List   Back   Previous   Next

version 1.5


OP Cancel transaction (connectionID) Longint

ParameterTypeDescription
connectionIDLongintConnection ID with target server
Function resultLongintError code result for the function

Description

OP Cancel transaction cancels the transaction in the current connection that was started with OP Start transaction. OP Cancel transaction leaves the database unchanged by cancelling the operations executed during the transaction.

Error Codes

If OP Cancel transaction executes successfully, it returns 0. Otherwise, this function returns one of the following errors:

Error CodeDescription
10128The 4D Open for 4th Dimension package has not been initialized.
10136The connection does not exist.
10154This command cannot be executed right now.

Example

See example for OP Start transaction.

See Also

CANCEL TRANSACTION, OP Start transaction, OP Validate transaction.


4D - Documentation   Français   English   German   4D Open for 4D, Command Theme List   4D Open for 4D, Command Alphabetical List   Back   Previous   Next