Examples: CreateViewNavFromChildren method

This example creates a view navigator from the children of the last document entry.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim doc As NotesDocument
Dim nav As NotesViewNavigator
Set db = session.CurrentDatabase
Set view = db.GetView("My View")
Set doc = view.GetLastDocument
Set nav = view.CreateViewNavFromChildren(doc)