isCurrentFieldByName()

The consoleLib.isCurrentFieldByName() system function returns YES if the cursor is in the specified field. This function is valid in an openUI statement that acts on a console form.

The function is similar to consoleLib.isCurrentField(), except that it refers to the value from the name property of the field rather than to the field variable itself. EGL requires this variant for compatibility with I4GL.

Syntax

  consoleLib.isCurrentFieldByName(name STRING in)
  returns (result BOOLEAN)
name
The value of the console field name property.
result
YES, if the cursor is in the specified form field; otherwise NO.

Feedback