LOTUSSCRIPT/COM/OLE CLASSES


Examples: GetDocumentByID method
1. This script gets the document in the current database for which the note ID is 000021CA, if such a document exists.
2. This sub takes two string arrays and a NotesDatabase as parameters. The elements of each array contain valid NoteIDs representing documents in the NotesDatabase. The sub finds the NoteIDs that are present in both arrays, uses GetDocumentByID to find the corresponding documents in the database, and places a link to each document into a rich-text field of a new document called resultDoc.
See Also