Examples: GetNext method (NotesOutline - LotusScript®)
This script uses the GetNext method to retrieve the second entry in the "products" outline and displays its label.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim outline As NotesOutline
Dim oeA As NotesOutlineEntry
Dim oeB As NotesOutlineEntry
Set db = session.CurrentDatabase
Set outline = db.GetOutline("products")
Set oeA = outline.GetFirst()
Set oeB = outline.GetNext(oeA)
Messagebox oeB.Label