I am using stored procedures to insert the data, if stored procedure fails VB gives a common error like "<Stored procedure name> expects parameter ". I want the exact ODBC error which is thrown by database.
Your connection whatever it is for example "dcnDB" has a collection called errors or something like that that keeps the Database real error with more description that Visual Basic does.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.