Lotus Software-Logo
IBM Lotus Domino Designer 8.5
  Versionen 8.5 und 8.5.1






@Failure

Indicates that input to a field does not meet validation.

Syntax

@Failure( string )

Parameters

string

Text. The error message you want displayed to the user.

Return value

string

Text. The error message.

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

See examples

Examples: @Failure
Siehe auch
@Success
Run-time errors
Examples: Writing formulas that evaluate to a result




Bibliothek | Unterstützung | Nutzungsbedingungen |

Letzte Aktualisierung: Montag, 5. Oktober 2009