AdoEnableConnectionEvents() Function

<< Click to Display Table of Contents >>

Navigation:  Ado Events >

AdoEnableConnectionEvents() Function

Previous pageReturn to chapter overviewNext page

Note

Please note that event handling is not supported in the current version of Xs2Ado

Purpose

Enable Events for all new Connections

 

Prototype

FUNCTION AdoEnableConnectionEvents ( symClass AS SYMBOL 

 

Argument(s)

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

 

 

Description

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