FORMULA LANGUAGE


@Failure
Ejemplo

Indicates that input to a field does not meet validation.

Syntax

@Failure( string )

Parameters

string


Return value

string


Usage

@Failure is intended for use only in input validation formulas.

@Failure does not terminate execution of the formula. Use @Return to force a formula to exit.

A field passes validation if its input validation formula returns @Success (which is the value 1). Any other return value means failure, and a text return value is displayed as an error message. The use of @Failure in an input validation formula is not required, therefore, but is recommended for clarity.

Language cross-reference

On Error statement of LotusScript language

GetErrorMessage method of LotusScript ODBC Connection, Query, and ResultSet classes

Java NotesError and NotesException classes

Ejemplo
Véase también


Glosario
¿Desea opinar sobre la Ayuda o sobre la utilidad del producto?