LOTUSSCRIPT/COM/OLE CLASSES

Examples: GetNextSibling method
This script returns the next sibling entry in a view navigator and places it in a folder.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim entryA As NotesViewEntry
Dim entryB As NotesViewEntry
Dim entryC As NotesViewEntry
Dim nav As NotesViewNavigator
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
Set nav = view.CreateViewNavFromCategory("Sale items")
Set entryA = nav.GetFirst
Set entryB = nav.GetChild(entryA)
Set entryC = nav.GetNexSibling(entryB)
Set doc = entryC.Document
Call doc.PutInFolder("Midnight Madness")

See Also