OdbcIgnoreError Function

Action

Specifies that a specific ODBC error is to be ignored if it occurs during the next ODBC function call. Since the error is then treated in the same way as a warning, the simulation will not be aborted.

Include file

ODBC.bdh

Syntax

OdbcIgnoreError( in sState  : string,
                 in nNative : number optional );
Parameter Description
sState SQL state value that is generated when an ODBC function fails. This five-character string value must consist of a two-character class value followed by a three-character subclass value.
nNative For general errors that generate an “HY000” SQL state, this parameter specifies the native ODBC error code (optional).