Parent Property

Applies To:

Fields collection


This object's creator/owner.


LPDISPATCH/Object Fields.Parent


Read-only. For the Fields collection, this property points to the Document to which the fields belong.


The following VB code sets DocCopy to the same document as FinderDoc:

Dim FinderDB As Object      'Document object
Dim DocCopy As Object      'Document object
Dim DocName As String      'Document Name property
Dim DocFields As Object     'Fields collection object

'Set Fields collection
Set DocFields = FinderDoc.Fields

Set DocCopy = DocFields.Parent  'Get copy of FinderDoc

See Also:

Document Object

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