Each OLEDBError object represents an error returned by the most recent OLE DB 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 OLE DB provider. You cannot add members to the collection.
Use the OLEDBErrors property to return the ODBCErrors collection.