ENABLE Reference Manual
ENABLE ATTRIBUTES
TREE Attribute
More TREE Attribute Examples. The following TREE attribute
associates a box with a single-file application:
SET APPL TREE (02 employee)
Consider the following TREE attribute, which identifies
three boxes for a multifile application: "odetail," "order,"
and "parts." The "odetail" box is at the highest level of the
tree and the "order" and "parts" boxes are at the next level:
SET APPL TREE (01 odetail
02 order LINK odetail TO order VIA ordernum
02 parts LINK odetail TO parts VIA partnum)
For boxes named "odetail," "order," "seller," "parts," "fromsup,"
and "supplier," the links are as follows:
• "Odetail" is linked to "parts" with "partnum" as the join
field for both boxes.
• "Order" is linked to "odetail" with "ordernum" as the join
field of both boxes.
• "Order" is linked to "seller." "Salesman" is the join field
for the "order" box, and "empnum" is the join field for the
"seller" box.
• "Parts" is linked to "fromsup" with "partnum" as the join
field for both boxes.
• "Fromsup" is linked to "supplier" with "suppnum" as the join
field for both boxes.
4-100