Examples: CreateViewNavFromAllUnread method

This script creates a view navigator of all documents in the "Sales Records" view that are unread by the current user.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim nav As NotesViewNavigator
Set db = session.CurrentDatabase
Set view = db.GetView( "Sales Records" )
Set nav = view.CreateViewNavFromAllUnread()