Examples: Parent property (NotesViewEntryCollection - LotusScript®)

This script displays the universal ID of the parent view.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim vc As NotesViewEntryCollection
Dim parentV As NotesView
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set vc = view.GetAllEntriesByKey("Cars")
Set ParentV = vc.Parent
Messagebox "UNID: " & vc.ParentV.UniversalID