Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Overview

Field binding is used to create a field to allow a value or response to be tied to an RPG program field. With field binding, a new field is created with the name, data type, and length associated with the bound field when the rich display file is compiled. The newly created fields are then able to be used in your RPG program to have a value or response set from the program itself, or to receive a value or response from the application.

If a field is able to be bound the field binding dialog button will be available in the property:

Clicking this button will open the Field Binding Dialog:

Formatting the Bound Field

There are many different types of formatting that can be applied to a bound field. This allows the data loaded into the field to be displayed in a certain format.

Text - Format used for any valid text.

Number - Used to format numbers. There are additional options to format the field.

  • Edit Word - Used to format a numeric field with an editing pattern you specify.

In the example above the source data '000000123' would appear as '***123.00' in the output.

  • Edit Mask -
  • Currency Symbol -
  • Units -

Indicator -

Date -

Time -

Time Stamp -

Special -

Custom -

  • No labels