Oracle Errors

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.