LOTUSSCRIPT/COM/OLE CLASSES


Examples: Collecting all documents and unprocessed documents
1. This example collects all the documents in a database with the AllDocuments property of NotesDatabase, and traverses the collection by using the GetFirstDocument and GetNextDocument methods of NotesDocumentCollection.
2. This example collects all the documents in a database with the AllDocuments property of NotesDatabase, and traverses the collection by using the GetFirstDocument and GetNextDocument methods of NotesDocumentCollection. Alternatively, you can use the GetLastDocument and GetPrevDocument methods to traverse the collection backwards.
3. This example collects all the documents in a database with the AllDocuments property of NotesDatabase, retrieves a document by using the GetDocument method of NotesDocumentCollection, and displays its note ID.
See Also