Count (NotesViewNavigator - JavaScript)

Read-only. The number of entries represented by the navigator.

Defined in

NotesViewNavigator

Syntax

getCount() : int

Examples

This computed field returns a count of all the entries in a view.
var v:NotesView = database.getView("main");
var nav:NotesViewNavigator = v.createViewNav();
return nav.getCount().toFixed() + " total entries";