LOTUSSCRIPT/COM/OLE CLASSES
Given a number, returns the document at the given position in the top level of a view.
Defined in
NotesView
Syntax
Set notesDocument = notesView.GetNthDocument( index& )
Parameters
index&
notesDocument
This method accesses only top-level (main) documents in a view; response documents are excluded.
For categorized views, this method returns the first document in each main category only.
If you do not have Reader access to a document in a view, this method returns the next document that you have reader access to.
Using getNthDocument to iterate through a loop is strongly discouraged for performance reasons. See GetFirstDocument, GetLastDocument, GetNextDocument, GetNextSibling, GetPrevDocument, and GetPrevSibling for the preferred loop structure.
Language cross-reference
getNthDocument method in Java View class
Example See Also