Use this function to stop the execution of the code (cause a run-time error) and create an error message for a field.

FieldRef.FIELDERROR([Text])

Parameters

FieldRef

Type: fieldref

Refers to the field for which you want to create an error message.

Text

Type: text or code

Use this optional parameter to include the text of the error message. If this parameter is not present, default text will be used.

Expand imageRemarks

Expand imageProgramming Guidelines

Expand imageSee Also