AdoEnableConnectionEvents() Function

<< Click to Display Table of Contents >>

Navigation:  Ado Events >

AdoEnableConnectionEvents() Function

Previous pageReturn to chapter overviewNext page


Enable Events for all new Connections



FUNCTION AdoEnableConnectionEvents ( symClass AS SYMBOL )  AS VOID


symClass        Class Name of Connection Event handler class that should be atached to every new Connection object




If you want to check events for every Connection object you can enable this by calling this function and passing it the name of your event handler class as an argument.

Whenever a new connection object is created a new instance of the event handler class will be generated and used as event handler for that particular object.

Please note that the class MUST BE a subclass of AdoConnectionEvents.


See Also

Ado Events, AdoConnectionEventClass(), AdoDisableConnectionEvents(), AdoConnectionEvents