displayFieldsByName()

You can use the consoleLib.displayFieldsByName() system function to display form field values in the current window, specified by their name properties. If data elements are bound to the fields, the data is retrieved from those elements and formatted according to the rules specified with the form field. For an unbound form field, you can access the ConsoleField.value property.

If you do not specify any field names as parameters, the function displays all fields for the current form.

The function is similar to the consoleLib.displayFields() function, except that it refers to values from the name properties of the fields rather than to the fields themselves. EGL requires this variant for compatibility with I4GL.

Syntax

  consoleLib.displayFields(
    [fieldNames ConsoleField in])
fieldNames
A list of values assigned to name properties of one or more ConsoleField variables, separated by commas.

Feedback