field_name

Returns the name of the currently active field.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X      

Syntax

string field_name()

Example

Creates a generic validation trigger that displays the name of the field in which the error occurs:
if (parm.0 < 0) error("Field " ^^ field_name() ^^ " must be > 0");