Selection formulas
A selection formula selects the documents that appear in a view.
A selection formula must end with a SELECT statement. If the last statement in the formula is a logical expression, Domino Designer turns it into a SELECT statement by prepending the reserved word SELECT.