ODBCError Object
Excel Developer Reference |
Represents an ODBC error generated by the most recent ODBC query.
Remarks
The ODBCError object is a member of the ODBCErrors collection. 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.
Example
Use ODBCErrors(
index
), where
index
is the index number of the error, to return a single ODBCError object. The following example refreshes query table one and displays the first ODBC error that occurs.
Visual Basic for Applications |
---|
|
See Also