Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






Collecting all documents and all unprocessed documents

The AllDocuments property of the NotesDatabase class is a NotesDocumentCollection object that contains all the data documents in a database. The UnprocessedDocuments property applies only to agents and view actions. For agents, this property contains all documents not yet processed by the agent or the result of the search specified in the agent's Document Selection object, depending on how you create the agent. For view actions, this property contains all selected documents. Use GetModifiedDocuments in NotesDatabase to get documents modified since a specified time.

The NotesDocumentCollection class has the following properties and methods for accessing documents:

The documents in a document collection are not ordered.

The NotesDocumentCollection class contains the following properties:

Property
Data type
Description

Count

Long

(Read-only) Number of documents in the collection

IsSorted

Boolean

(Read-only) True if the documents are sorted

Parent

NotesDatabase

(Read-only) Database that contains the collection

Query

String

(Read-only) Text of the query that created the collection

UntilTime

NotesDateTime

(Read-only) Database end time for a collection made through GetModifiedDocuments in NotesDatabase

See examples

Examples: Collecting all documents and unprocessed documents
Related topics
Accessing documents in LotusScript classes
Locating documents within a view or folder in LotusScript classes




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009