ODBCErrors Object
Excel Developer Reference |
A collection of ODBCError objects.
Remarks
Each ODBCError object represents an error returned by the most recent ODBC query. If the specified ODBC query runs without error, the ODBCErrors collection is empty. The errors in the collection are indexed in the order in which they’re generated by the ODBC data source. You cannot add members to the collection.
Example
Use the ODBCErrors property to return the ODBCErrors collection. The following example refreshes query table one and displays any ODBC errors that occur.
Visual Basic for Applications |
---|
|
See Also