PGSQL_GetLastCmdStatus

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

version 2004


PGSQL_GetLastCmdStatus (resID; lastCmdStatus) Longint

ParameterTypeDescription
resIDLongintResult ID returned by PGSQL_Execute
lastCmdStatusStringStatus of the last command executed
Function resultLongintError code (where 0 means no error)

Description

The PGSQL_GetLastCmdStatus command gives the status (String) of the last command executed. It returns an error code (Longint) where 0 means no error.

resID is a Longint that corresponds to the result ID returned by PGSQL_Execute.

lastCmdStatus is a String that is returned which corresponds to the status of the last command executed.


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