Parent Property

Applies To:

Field object

Description:

This object's creator/owner.

Syntax:

LPDISPATCH/Object Field.Parent

Remarks:

Read-only. For the Field object, this property points to the Fields collection.

Example:

The following Visual Basic code sets FieldsCopy to FinderDoc.Fields:

Dim FinderDoc As Object      'Document object
Dim CurrentField As Object  'Field object
Dim FieldsCopy As Object     'Field object

'Set field to second field in fields collection
Set CurrentField = FinderDoc.Fields(2)

'Set FieldsCopy to same as FinderDoc.Fields
Set FieldsCopy = CurrentField.Parent

See Also:

Fields Collection


2005 CambridgeSoft Corporation. All Rights Reserved. Privacy Statement
Tel  800 315-7300 / 617 588-9300     Fax  617 588-9390     Email   info@cambridgesoft.com
CambridgeSoft Corporation, 100 CambridgePark Drive, Cambridge, MA 02140 USA