GetNthEntry (NotesViewEntryCollection - LotusScript®)
Given a position number, gets the entry at that position in a view collection.
Defined in
Syntax
Set notesViewEntry = notesViewEntryCollection .GetNthEntry( index& )
Parameters
index&
Long. A number indicating the entry to return. Use 1 to indicate the first entry in the collection, 2 to indicate the second entry, and so on.
Return value
notesViewEntry
The entry in the nth position in the view collection. If there is no entry at the specified position, returns Nothing.
Usage
View collections are renumbered when deletions occur so that the positions of entries after the deleted entry change.
Using getNthEntry to iterate through a loop is strongly discouraged for performance reasons. See GetFirstEntry, GetLastEntry, GetNextEntry, and GetPrevEntry for the preferred loop structure.