InfoMessage Event

       

Occurs when informational messages are added to the rdoErrors collection.

Private Sub object.InfoMessage( )

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

This event is raised after RDO receives a SQL_SUCCESS_WITH_INFO return code from the ODBC Driver Manager, and populates the rdoErrors collection with the informational messages.

The InfoMessage event is raised once for each set of informational messages. Thus, if an RDO method generates several informational messages, this event is raised only once — after the last message has been added to the collection. You can trap this event and examine the contents of the rdoErrors collection and decide what action is appropriate.