Examples: Parent property (NotesViewEntry - LotusScript®)

This script finds the parent view of the view entry Cars and prints its universal ID.

Dim session As New NotesSession
Dim db As New NotesDatabase("","test.nsf")
Dim view As NotesView
Dim entry As NotesViewEntry
Dim parentView As NotesView
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set entry = view.GetEntryByKey("Cars")
Set parentView = entry.Parent
Messagebox parentView.UniversalID