Actual ODBC error codes rather than 3146 -- ODBC Call failed

Actual ODBC error codes rather than 3146 -- ODBC Call failed

Post by Sebastien Spiese » Thu, 17 Sep 1998 04:00:00



Hello,

I'm using ODBC to query an Informix DB.

At any point if a get an error (wrong password, wrong DSN connect string,
wrong SQL statement..),
I get the same error code:

3146 -- ODBC Call failed.

Is there a way to get the right Informix status code/string ?

Note: I'm using ODBC; what about RDO/ADO/RDS...: is it faster ?

Thx
Sebastien