AdoRecordSet:.ctor()

<< Click to Display Table of Contents >>

Navigation:  Ado Classes > AdoRecordset Class >

AdoRecordSet:.ctor()

Previous pageReturn to chapter overviewNext page

Purpose

Create Object of type AdoRecordSet

 

Prototype

CONSTRUCTOR ( ptrIf, bAddRef )  

 

Argument(s)

ptrIf        (Optional) Interface Pointer, Xs2Ado Object, IUnknown object, OleAutoObject or VoCom Idispatch_ object.  When omitted a new Recordset is created

bAddRef        (Optional) Is it necessary to increment the usage count by calling AddRef

 

Event handling

The AdoRecordset Class can support events. You can set a default event handler for every Recordset Object that gets created by calling the AdoRecordSetEventClass() function with the name of the class to use for event handlers.

 

See Also

AdoRecordSet, AdoRecordSetEventClass