HP Integrity NonStop J-Series User Manual

Page 105

Advertising
background image

CREATING AND RUNNING A MULTIFILE APPLICATION
Associating and Linking Boxes

Sample Two-Level Tree Structure. Figure 5-9 shows an example of
a two-level tree structure. This figure also shows the SET TREE
command that builds this tree structure.

TREE(01 employee

02 dependents LINK empnum TO OPTIONAL emp-no)

S5044-028

employee
empnum
empname
• • •

Level 1

Dependents
dep-key
emp-no
dependent-no
• • •

Level 2

Link between Boxes

Figure 5-9. Sample Two-Level Tree Structure

Figure 5-10 shows the screen displayed by an application
generated with this tree structure. Note that a field from the
"employee" box (the box at the first level of the tree structure)
appears first on the screen. The "dependents" box directly
follows the join field ("empnum") of the "employee" box. The
join field ("emp-no") of the "dependents" box does not appear on
the screen.

5-21

Advertising
This manual is related to the following products: