.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

LOTUSSCRIPT/COM/OLE CLASSES


Examples: Parent property
This script gets the parent document of an item. Since doc and parentDoc represent the same document, the script prints the same NoteID twice.

Dim doc As NotesDocument
Dim parentDoc As NotesDocument
Dim item As NotesItem
Dim itemName As String
'...set value of doc...
Set item = doc.GetFirstItem( "Body" )
Set parentDoc = item.Parent    
Messagebox( doc.NoteID )
Messagebox( parentDoc.NoteID )

See Also