How To Get More Information on the ODBC Call Failed Error (154510)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q154510 SUMMARY
This article describes how to get more information on the ODBC Call Failed
error. When errors occur using ODBC databases, Visual Basic will provide an
"ODBC Call Failed" error message. This generic error message provides no
specific detail so you must cycle through the Errors collection to get
additional information. This can be done with both the Visual Basic 16-bit
and 32-bit editions. Below is a code sample that shows the difference in
behavior.
REFERENCES
Visual Basic 4.0 Professional Features, Chapter 9 of the "Guide to Data
Access Object."
Jet Database Engine Programmers Guide, Page 425-427.
For additional information, please see the following article in the
Microsoft Knowledge Base:
120763 How to Retrieve Info from RAISERROR Function in SQL Server DB
Modification Type: | Minor | Last Reviewed: | 3/14/2005 |
---|
Keywords: | kbhowto KB154510 |
---|
|