AdoEnableRecordSetEvents() Function

<< Click to Display Table of Contents >>

Navigation:  Ado Events >

AdoEnableRecordSetEvents() 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 RecordSets

 

Prototype

FUNCTION AdoEnableRecordSetEvents ( symClass AS SYMBOL& #32;)  AS VOID 

 

Argument(s)

symClass        Class Name of RecordSet Event handler class that should be attached to every new RecordSet object

 

 

Description

If you want to check events for every RecordSet 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 RecordSet 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 AdoRecordSetEvents.

 

See Also

Ado Events, AdoRecordSetEventClass(), AdoDisableRecordSetEvents(), AdoRecordSetEvents