ODBCError Members (Excel)

Represents an ODBC error generated by the most recent ODBC query.

Properties

Name

Description

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.

ErrorString

Returns a String value that represents the ODBC error string.

Parent

Returns the parent object for the specified object. Read-only.

SqlState

Returns the SQL state error. Read-only String.