ClearCollection (NotesNoteCollection - LotusScript®)

Clears (invalidates) a note collection build.

Defined in

NotesNoteCollection

Syntax

Call notesNoteCollection .ClearCollection

Usage

Clearing renders a built note collection unusable. The collection must be built again.

Clearing a note collection does not change SelectionFormula, SinceTime, and the Select properties. Use SelectAllNotes to reinitialize the Select properties. Reinitialize SelectionFormula and SinceTime individually.

Example