JAVA/CORBA CLASSES
Gets the document immediately following the current document or a specified document in a collection.
Defined in
DocumentCollection
Syntax
public Document getNextDocument() throws NotesException
public Document getNextDocument(Document doc) throws NotesException
Parameters
Document doc
Document
In remote (IIOP) operations, getNextDocument(Document doc) invalidates the cache and is therefore discouraged.
The preferred loop structure is getFirstDocument() followed by getNextDocument() until it returns null. For performance reasons, you should avoid using getNthDocument(int n) and getNextDocument(Document doc) in a loop.
Language cross-reference
GetNextDocument method in LotusScript NotesDocumentCollection class
NavigateNextSelected @command in formula language
NavNextSelected @command in formula language
Example See Also