PROPERTY: Record::RecordType

Implemented in version 2.5

RecordTypeEnum = recordobject.RecordType

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

 
Code (VBScript):
If objRecord.RecordType = adCollectionRecord Then
   MsgBox "Record Contains Children", vbOK
End If

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information