TIE Command [ HP ALLBASE/4GL Developer Reference Manual Vol. 2 ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Reference Manual Vol. 2
TIE Command
The TIE command specifies the number of the next field to be processed on
the current screen.
Format
TIE data_ref
Parameters
data_ref
One of the following, containing the number of the screen field:
* A whole number.
* A screen field name.
* A * (representing the current field).
* A relative screen field reference such as *-9 to *+9.
In the TIE command you can specify a screen field by the field name only.
You can optionally omit the screen name.
Description
The TIE command specifies the number of the field to be processed on the
current screen. This command takes effect after HP ALLBASE/4GL has
finished processing the current screen field. You only need to use the
TIE command if the next required field is not the next numbered field on
the screen.
The TIE command is only valid in:
* A prior function called from an input or output field.
* An after function called from an input field.
* A function called from a function key on a data screen.
If you use the TIE command in a function called from a function key or a
prior function on a screen field, you can set the switch *ENDFIELD on to
terminate processing of the current screen field.
If you use the TIE command from within a window, the field you tie to can
be a field on the window or on the main screen. For example, the command
TIE 1 from a window causes a tie to the first field on the screen, not
the first field on the window.
Example
TIE 5
This command specifies that the field number 5 is the next field to be
processed.
MPE/iX 5.0 Documentation