Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
The most recent Oracle error text is available from the OraSession or OraDatabase objects properties: LastServerErr and LastServerErrText.
· The LastServerErr and LastServerErrText properties of the OraSession object return all errors related to connections, such as errors on OpenDatabase.
· The LastServerErr and LastServerErrText properties of the OraDatabase object return all errors related to an Oracle cursor, such as errors on CreateDynaset, CreateSQL, and ExecuteSQL.