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.
consoleLib.isCurrentFieldByName(name STRING in)
returns (result BOOLEAN)