InfoMessage event (ADO)
Applies to: Access 2013, Office 2013
The InfoMessage event is called whenever a warning occurs during a ConnectionEvent operation.
Syntax
InfoMessagepError, adStatus, pConnection
Parameters
Parameter | Description |
---|---|
pError | An Error object. This parameter contains any errors that are returned. If multiple errors are returned, enumerate the Errors collection to find them. |
adStatus | EventStatusEnum. Before this event returns, set this parameter to adStatusUnwantedEvent to prevent subsequent notifications. |
pConnection | A Connection object. The connection for which the warning occurred. For example, warnings can occur when opening a Connection object or executing a Command on a Connection. |