LOTUS CONNECTORS


Examples: GetErrorMessage method
1. This agent checks for an error in the ODBCConnection object after calling the ListTables method. If the name of the data source is wrong, an error occurs.
2. This agent enables an error handler, which is called if any ODBC error occurs. The error handler displays the error message associated with the ODBCConnection object.
3. This agent enables an error handler. The error handler searches for an ODBC object that returns an error status (not success) and displays its error message.
4. This agent tests for DBstsODBC on a connection error. If DBstsODBC is the error, the agent tries to establish the connection again. Otherwise, the agent exits.
5. This agent contains a function that returns the name of an error number, given the number.
See Also