LOTUSSCRIPT/COM/OLE CLASSES


Examples: GetLastDocument method
This script returns the universal ID of the last document entry in a view navigator.

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")
Set nav = view.CreateViewNav
Set entry = nav.GetLastDocument
Messagebox entry.UniversalID

See Also