ENABLE Reference Manual
 ENABLE ATTRIBUTES
 EXCLUDE Attribute
 ENABLE cannot use a box for an application if you exclude:
 • All of the fields described in a record description. If you
 try to exclude all fields, ENABLE issues an error message
 stating that "All fields have been excluded from this box."
 • For any box except the box at the first level of the tree
 structure, all fields except the join field. If you exclude
 all fields except the join field from a such a box, ENABLE
 issues the error message: "No field is left to be
 displayed in box." Refer to the description of the TREE
 attribute for an explanation of the levels of a tree
 structure.
 • The primary key field of a key-sequenced file or a unique
 alternate key field from any type of file when INSERT is set
 ON. ENABLE cannot generate the application because an insert
 operation could cause a duplicate key error. If you try to
 exclude a unique key field, ENABLE issues the error message:
 "Field corresponding to unique key has been excluded -
 <field-name>."
 • All key fields from a box. If you exclude all key fields from
 a box, ENABLE issues the error message: "All key fields
 have been excluded from this box."
 • The join field from a box. Refer to the description of the
 TREE attribute for an explanation of a join field.
 • Any component of a group join field. All components of a
 group used as a join field must be in the same order as they
 appear in the dictionary, and all fields in the group must
 be present.
 4-20










