GET LAST SQL ERROR

4D - Documentation   Français   English   German   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 11


GET LAST SQL ERROR (codesArray; intCompArray; textArray)

ParameterTypeDescription
codesArrayNumber arrayError numbers
intCompArrayString arrayInternal component codes
textArrayString arrayText of errors

Description

The GET LAST SQL ERROR command returns information about the current stack of errors concerning the use of the SQL kernel.

This command must be called from an on error call method installed by the ON ERR CALL command.

The information is returned in three synchronized arrays:

codesArray: This array receives the list of error codes generated.

intCompArray: This array contains the codes of the internal components associated with each error.

textArray: This array contains the text of each error.

The list of error codes and their text is provided in the SQL Engine Errors section.


4D - Documentation   Français   English   German   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next