例: GetFirst method (NotesViewNavigator - LotusScript®)

次のスクリプトは、ビューナビゲータの最初のエントリを返します。

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim entry As NotesViewEntry
Dim nav As NotesViewNavigator
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set nav = view.CreateViewNav
Set entry = nav.GetFirst
Messagebox entry.UniversalID