JAVA/CORBA CLASSES


getNextDocument method
Example

Given a document in a view, returns the document immediately following it.

Defined in

View

Syntax

public Document getNextDocument(Document doc)
   throws NotesException

Parameters

Document doc


Return value

Document


Usage

This method returns the next document in the view regardless of what type of document it is (document, response, or response-to-response). If you want the next sibling document in the view, use getNextSibling.

If the view is filtered by FTSearch, this method returns the next document in the filtered view.

The ViewNavigator and ViewEntryCollection classes provide more efficient methods for navigating views and accessing entries.

Language cross-reference

GetNextDocument method in LotusScript NotesView class

NavigateNext @command in formula language

NavNext @command in formula language

Example
See Also