AllDocuments (NotesDatabase - LotusScript®)

Read-only. All the documents in a database.

Defined in

NotesDatabase

Data type

NotesDocumentCollection

Syntax

To get: Set notesDocumentCollection = notesDatabase .AllDocuments

Return value

notesDocumentCollection

An unsorted collection containing all of the documents in the database.

Usage

Since many databases contain large numbers of documents, you may use the FTSearch or Search methods instead of the AllDocuments property. Both methods return a smaller collection of documents that meet specific criteria. Using AllDocuments is, however, more efficient than using the Search method with an @All formula.

If the collection is empty, AllDocuments.Count is 0.

The database must be open to use this property.

Example