ENABLE Reference Manual
 ENABLE ATTRIBUTES
 TREE Attribute
 Since the purpose of this application is to display information
 about departments, "depart-box" should be at the first level of
 the tree structure. "Employ-box" must be at the second level of
 the tree because this is the only box used by the application
 that can be linked to "depart-box." (The other boxes do not have
 appropriate join fields.)
 Both "depends-box" and "benefits-box" have join fields that would
 allow you to link them either to "employ-box" or to each other.
 Since an employee might have benefits coverage without having any
 dependents or might have dependents without having benefits
 coverage, the satisfactory solution is to make "employ-box" the
 parent box of both "depends-box" and "benefits-box." This
 solution will allow the generated application to read or insert
 either a dependent or benefit record as long as a matching
 employee record exists.
 Because "employ-box," which is to reside at the second level of
 the tree, is the parent of both "depends-box" and "benefits-box,"
 both of these boxes must reside at the third level of the tree.
 4-94










