LOTUSSCRIPT/COM/OLE CLASSES


GetParentDocument method
Example

Given a response document in a view, returns its parent document.

Defined in

NotesView

Syntax

Set notesDocument = notesView.GetParentDocument( document )

Parameters

document


Return value

notesDocument


Usage

The document returned by GetParentDocument may be a main document, a response, or a response-to-response.

To find a document's parent outside a view, get its ParentDocumentUNID and use the NotesDatabase method GetDocumentByUNID.

Language cross-reference

getParentDocument method in Java View class

Example
See Also