HP RPG/iX Utilities Reference Manual (30318-90006)
1- 254
SOC. SEC. NO.
NAME
ADDRESS
ZIP CODE PHONE NO.
Figure 1-7. Sample Form with a Centered Line
Press ENTER . In the next screen, type the name of the new form and press ENTER to store the form
and return to the main menu. At this point, you have created a forms file, designed a new form, and stored
the form in the file.
Editing a Form
This section takes you through the steps of editing a form. The name of the newly created form is
displayed beside Selected form: on your screen. Press f1 (EDIT FORM) to display your form on the
screen. Press f8 (SWITCH MENU). A new set of keys for detailed form editing is displayed, as shown in
Figure 1-8.
_______________________________________________________________________________________
| |
| ADD TO SHORTEN DELETE HOLD PLACE CLEAR REFRESH SWITCH|
| FIELD FIELD FIELD FIELD FIELD HOLD MENU |
| |
| |
_______________________________________________________________________________________
Figure 1-8. Keys for Detailed Form Editing
To lengthen the NAME field on the form, position the cursor in that field (using the cursor control keys),
and press the f1 key (ADD TO FIELD) several times. The field is lengthened one position each time you
press f1 .
The f1 key can also create a new field in the form. Position the cursor under the field
designated by the label ZIP CODE and type a new label, AGE. Then, press the f1 key three times
to create a small field. Your form looks like Figure 1-9.
SOC. SEC. NO.
NAME
ADDRESS
ADDRESS
ZIP CODE PHONE NO.
AGE
Figure 1-9. Sample Form with a New Field Added
To shorten a field (remove spaces from the field) use the f2 key (SHORTEN FIELD). Position the cursor in
the second address field and press the f2 key several times. One space is removed from the field each time
you press f2 .
To delete an entire field, use the f3 key (DELETE FIELD). Position the cursor in the field with the label
AGE and press the f3 key. The field no longer appears on the screen. Erase the label by spacing over the
field. Your form now looks like Figure 1-10.
SOC. SEC. NO.
NAME