AdoRecordSet:Init()

<< Click to Display Table of Contents >>

Navigation:  Ado Classes > AdoRecordset Class >

AdoRecordSet:Init()

Previous pageReturn to chapter overviewNext page

Purpose

Create Object of type AdoRecordSet

 

Prototype

METHOD INIT ( ptrIf, bAddRef )  CLASS AdoRecordSet

 

Argument(s)

ptrIf        (Optional) Interface Pointer, Vo2Ado 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

 

Description

The AdoRecordSet object can be created independantly of other objects. There are xxx versions of the AdoRecordSet Object available:

ADO 2.5 and above

ADO 2.1 and above

ADO 2.0 and above

You can influence the version of the object that gets created by setting the Vo2Ado library version using the AdoSetAdoVersion function.

 

 

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