ENABLE Reference Manual
ENABLE ATTRIBUTES
TREE Attribute
The screen displayed by an application reflects the parent-child
relationship established by a LINK OPTIONAL. On the screen, an
application always displays the join field of the parent box on
the screen line that directly precedes the child box. The
application does not display the join field of the child box.
Figure 4-6 shows the screen displayed by an application that uses
"employee-box" as the parent and "depend-box" as the child.
S5043-023
EMPLOYEE-EXAMPLE
Page 1/1
* EMPNO ________
DEPENDENT-NAME ___________________
AGE ____
SEX ____
+ EMPNAME ________________________
DEPT
REGNUM _____
BRANCHNUM _____
JOB ____________
AGE _____
SALARY ____________
VACATION _____
Ready for input F3 for Help, shift F16 to exit
.00
Join field of
the parent box
(employee-box)
Screen labels and fields
for the child box
(depend-box)
Figure 4-6. Sample Terminal Screen With Parent and Child Boxes
Before you can establish a link between two boxes, you must
first:
• Determine if each box has an appropriate join field
• Determine which box is to be the parent box and which is to be
the child box
4-78