Using VPLUS: An Introduction to Forms Design (32209-90004)

7-28
.
Figure 7-20. The ORDER_HEAD Form Frozen with the ORDER_LINE
Form Appended
The only data you are required to enter on this form is the customer
name. However, for most purposes you also enter the customer's address
and phone number.
Action
Type in the customer information on the header form as shown in Figure
7-20 and press ENTER to record this information in the first record of
the batch file.
Because the header form is defined as a "frozen" form, it remains on the
screen when you press ENTER. The next form, which is the line of order
information, is a repeating appending form and is displayed on the
screen
immediately below the first form. The fields on this next form are
aligned with the field headers at the bottom of the first form.
Note that the record number in the window line is now shown as #2. The
data you enter in the new form is recorded as the second record of the
DATA7 batch file. Unless you go to Browse mode, you cannot change the
data in the header form; the entire screen except for the current form
(ORDER_LINE) is now protected.