AddEntry (NotesViewEntryCollection - LotusScript®)

Adds an entry to a view entry collection.

Defined in

NotesViewEntryCollection

Syntax

C ALL notesViewEntryCollection .AddEntry( addentry [, checkDups ])

Parameters

addentry

A ViewEntry object representing the entry to be added. If the specified entry is a Category or Total entry, an error is returned. If you specify Nothing, this method generates an error.

checkDups

Note: This parameter is for COM only. It is not currently used.

Boolean. Optional. Specify True to check for duplicate entries. The default is False.

Usage

For sorted collections, the entry is appended. For unsorted collections, the entry is inserted using an internal algorithm.

Sorted collections include all ViewEntryCollections and DocumentCollections created from FTSearch (including DocumentCollections modified by calling the FTSearch method on the collection). All other DocumentCollections are unsorted.

Example