I'm sending a sql to IBM host from MS Access through ODBC.
If I made an error in this SQL, I only got at message telling that ODBC call has failed. (error number 3146)
Is it possible to retrieve the sqlcode from Host ?
I have tried to use API call GetLastError, but it allways gives me a zero.
A coding example would be nice ?
If I made an error in this SQL, I only got at message telling that ODBC call has failed. (error number 3146)
Is it possible to retrieve the sqlcode from Host ?
I have tried to use API call GetLastError, but it allways gives me a zero.
A coding example would be nice ?