SelectionFormula (NotesView - JavaScript™)
Read-write. The selection formula of a view.
Defined in
NotesViewSyntax
getSelectionFormula() : string
setSelectionFormula(formula:string) : void
Examples
This button toggles the selection formula for the a view associated with the page.var sf:string = view1.getSelectionFormula();
if (sf.isEmpty() || sf.endsWith("@All")) {
view1.setSelectionFormula("SELECT @Now < @Adjust(@modified; 0; 0; 6; 0; 0; 0)");
} else {
view1.setSelectionFormula("SELECT @All");
}