GetDocumentByID (NotesDatabase - LotusScript®)

Finds a document in a database, given the document's note ID.

Defined in

NotesDatabase

Syntax

Set notesDocument = notesDatabase .GetDocumentByID( noteID$ )

Parameters

noteID$

String. The note ID of a document. You can obtain this from the NoteID property of a document.

Return value

notesDocument

NotesDocument. The document with the specified note ID. Returns Nothing if a match is not found.

Usage

For an explanation of NoteIDs, see the NoteID property in NotesDocument.

Example