ODBCError.SqlState Property
Excel Developer Reference |
Returns the SQL state error. Read-only String.
Syntax
expression.SqlState
expression A variable that represents an ODBCError object.
Remarks
For an explanation of the specific error, see you SQL documentation.
Example
This example refreshes query table one and displays any ODBC errors that occur.
Visual Basic for Applications |
---|
|
See Also