LOTUSSCRIPT/COM/OLE CLASSES


Examples: GetParent method
This script returns the parent entry in a view navigator.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim entryA As NotesViewEntry
Dim entryB As NotesViewEntry
Dim nav As NotesViewNavigator
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
Set nav = view.CreateViewNav
Set entryA = nav.GetFirstDocument
Set entryB = nav.GetParent(entryA)
Messagebox entryB.SiblingCount

See Also