GetLastDocument (NotesDocumentCollection - LotusScript®)

Gets the last document in a collection.

Defined in

NotesDocumentCollection

Syntax

Set notesDocument = notesDocumentCollection .GetLastDocument

Return value

notesDocument

NotesDocument. The last document in the collection. If there are no documents in the collection, returns Nothing.

Example