ADODB Object
 
Syntax
 
RecordTypeEnum = recordobject.RecordType
 
Description
Returns a RecordTypeEnum that is the type of the Record object.
 
The RecordType property returns a RecordTypeEnum constant that specifies the type of the Record object.
 
 
RecordType Enum Constant 
 
Constant
Value
Description
adCollectionRecord
1
Type is a collection record that does contain children
adSimpleRecord
0
Type is a simple record that does not contain children
adStructDoc
2
Type is a COM structured document
See Also
Field.Type, Parameter.Type, Property.Type, Stream.Type.
Example
 
If objRecord.RecordType = adCollectionRecord Then
   MsgBox "Record Contains Children", vbOK
End If