HP Integrity NonStop J-Series User Manual

Page 96

Advertising
background image

CREATING AND RUNNING A MULTIFILE APPLICATION
Associating and Linking Boxes

The screen displayed by an application reflects the parent-child
relationship you define. An application displays a child box
after the join field of the parent box. If any other fields in
the parent box follow the join field, the application displays
these fields below the child box. An application does not
display the join field of a child box.

Figure 5-6 shows the screen displayed by the sample
"employee-detail" application. For this application, the
employee box is the parent box and the "dependents" box is the
child box. Notice that the join field ("empnum") of the
"employee" box appears before the "dependents" box and that the
join field of the dependents box ("emp-no") does not appear on
the screen. An ENABLE application does not display the join
field of the child box because the data in this field is
identical to the data displayed or inserted in the join field of
the parent box.

EMPLOYEE-DETAIL

Page 1/1

* EMPNUM ___________

* DEP-KEY

DEPENDENT-NO ____

DEPENDENT-NAME ________________________________

RELATIONSHIP ____

DEPENDENT-AGE ____

* EMPNAME _______________________________

* DEPT

REGNUM ___________

BRANCHNUM ___________

JOB _______________________

AGE ___

SALARY _______________

VACATION ___

Ready for input F3 for Help, shift F16 to ex

S5044-025

.00

Join Field of
Parent Box

Child Box

Remaining Fields
of Parent Box

Figure 5-6. Parent and Child Boxes on the Screen

5-12

Advertising
This manual is related to the following products: