JAVA/CORBA CLASSES


getPrevDocument method
Example

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

Defined in

View

Syntax

public Document getPrevDocument(Document doc)
   throws NotesException

Parameters

Document doc


Return value

Document


Usage

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.

In loops you should recycle the Document object on each iteration. Use a temporary Document object to save and restore the object.

Language cross-reference

GetPrevDocument method in LotusScript NotesView class

NavigatePrev @command in formula language

NavPrev @command in formula language

NavigateToBacklink @command in formula language

Example
See Also