version 1.5
OP Validate transaction (connectionID) Longint
| Parameter | Type | Description | |
| connectionID | Longint | Connection ID with target server | |
| Function result | Longint | Error code result for the function |
Description
OP Validate transaction validates the transaction in the current connection that was started with OP Start transaction. OP Validate transaction saves the changes to the database that occurred during the transaction.
Error Codes
If OP Validate transaction executes successfully, it returns 0. Otherwise, this function returns one of the following errors:
| Error Code | Description |
| 10128 | The 4D Open for 4th Dimension package has not been initialized. |
| 10136 | The connection does not exist. |
| 10154 | This command cannot be executed right now. |
Example
See example for OP Start transaction.
See Also
OP Cancel transaction, OP Start transaction, VALIDATE TRANSACTION.