LOTUSSCRIPT/COM/OLE CLASSES


Examples: GetNextDocument method
This script returns the next document entry in a view navigator.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim entryA As NotesViewEntry
Dim entryB As NotesViewEntry
Dim nav As NotesViewNavigator
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set nav = view.CreateViewNavFromCategory("Zircon")
Set entryA = nav.GetFirstDocument
Set entryB = nav.GetNextDocument(entryA)
Set doc = entryB.Document
Call doc.PutInFolder("Midnight Madness")

See Also