Examples: CreateViewNavFromDescendants method

This example creates a view navigator for all of the descendants of the first document in a view.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim doc As NotesDocument
Dim nav As NotesViewNavigato
Set db = session.CurrentDatabase
Set view = db.GetView("My View")
Set doc = view.GetFirstDocument
Set nav = view.CreateViewNavFromDescendants(doc)