ADO GetChildren Method

Home | About me | EXCEL VB Programming (XL97-2003) | ACCESS Programming | EXCEL VB.Net Programming | EXCEL Spreadsheet Functions Material Management  |  Guestbook
 

ADO Record Object >>GetChildren Method

The GetChildren method returns a Recordset object where each row represents a child of the current Record object, or similarly where each row represents a file or subdirectory in the directory represented by the Record object. The provider dictates which columns are actually in the returned Recordset.

Syntax

Set objrecordset=objrecord.GetChildren

Example


If objRecord.RecordType = adCollectionRecord
   Set objRecordset = objRecord.GetChildren
End If