LOTUSSCRIPT/COM/OLE CLASSES


BuildCollection method
Example

Builds (compiles) the note collection.

Defined in

NotesNoteCollection

Syntax

Call notesNoteCollection.BuildCollection

Usage

You must build the collection before it is usable.

The built collection contains the database notes determined by the current values of SelectionFormula, SinceTime, and the Select properties.

Initially SelectionFormula and SinceTime select all notes.

Initially the Select properties are all True or all False as determined by CreateNoteCollection. You can reset them all True or all False with SelectAllNotes.

You can set the Select properties individually or in groups. The following list arranges the Select properties under the SelectAll methods that set them:

1. Not in a SelectAll group:

2. Set by SelectAllAdminNotes: 3. Set by SelectAllDesignElements and SelectAllCodeElements: 4. Set by SelectAllDesignElements and SelectAllFormatElements: 5. Set by SelectAllDesignElements and SelectAllIndexElements: 6. Set by SelectAllDesignElements: Use LastBuildTime to get the time of the last build.

Language cross-reference

buildCollection method in Java NoteCollection class

Example
See Also