HP Integrity NonStop J-Series User Manual
Page 129
![background image](/manuals/396723/129/background.png)
TAILORING AN APPLICATION
Reordering Screen Fields
When you supply DDLHEADINGS as a value for the HEADINGS
attribute, the application uses the field name as a label for any
field in a record description that does not have a HEADING
clause.
Reordering Screen Fields
If you want to define the order in which fields appear on the
screen, you must supply a value for the INCLUDE attribute.
Consider, for example, the "employee-info" application. To
provide an attractive and useful screen for this application, you
should reorder the fields for "employ-box" so that:
• The join field ("empnum") appears after all the other fields
in the box
• A key field (such as "empname") appears as the first field on
the screen
• Fields (such as "age" and "salary") that contain sensitive
information do not appear on the screen
You can reorder the fields in "employ-box" by including the
following in the series of commands that describe this box:
SET INCLUDE (empname, dept, job, vacation, empnum)
Figure 6-5 shows the screen that "employee-info" will
display if you supply the attribute values discussed thus far.
This figure also shows the preceding SET INCLUDE command in the
series of commands used to generate the application.
6-11