GetPrevDocument (NotesDocumentCollection - LotusScript®)

Given a document, finds the document immediately preceding it in a collection.

Defined in

NotesDocumentCollection

Syntax

Set notesDocument = notesDocumentCollection .GetPrevDocument( document )

Parameters

document

NotesDocument. Any document in the collection. If you specify Nothing, this method generates an error.

Return value

notesDocument

NotesDocument. The document preceding the specified document in the collection. If there is no previous document, returns Nothing.

Example