Returns an ODBCErrors collection that contains all the ODBC errors generated by the most recent query table or PivotTable report operation. Read-only.
For more information about returning a single object from a collection, see Returning an Object from a Collection.
Remarks
If there’s more than one query running at the same time, the ODBCErrors collection contains the ODBC errors from the query that’s finished last.