Examples: ParentView property (NotesViewNavigator - LotusScript®)

This script displays the name of the parent view of a view navigator.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim nav As NotesViewNavigator
Dim pv As NotesView
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set nav = view.CreateViewNav
Set pv = nav.ParentView
Messagebox pv.Name