AdoEnableRecordSetEvents() Function

<< Click to Display Table of Contents >>

Navigation:  Ado Events >

AdoEnableRecordSetEvents() Function

Previous pageReturn to chapter overviewNext page


Enable Events for all new RecordSets



FUNCTION AdoEnableRecordSetEvents ( symClass AS SYMBOL )  AS VOID PASCAL



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




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