ADO » Record » GetChildren

Version: 2.5

Syntax:
Set recordsetobject = recordobject.GetChildren

Returns a Recordset object where each row represents a file or directory.

The GetChildren method returns a Recordset object 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.

Examples

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

See Also: