ENABLE Reference Manual

ENABLE FUNCTION KEYS
Multifile UPDATE Operations
You must also insert a record in a containing box before you can
insert any records in nested boxes.
Multifile DELETE Operations
When you request a DELETE operation, delete the record (or
records) from a nested box before you delete any records from its
containing box.
If you delete a record from a containing box before you delete
any records from its nested boxes, the application cannot access
the records for its nested boxes because the record in the
containing box with a matching join-field value no longer exists.
Since you must read a record before you can delete it, you cannot
delete any records for the nested box.
Multifile UPDATE Operations
With one exception, you can request UPDATE operations in the same
manner that you request these operations for applications that
display records from a single file. The exception is when you
want to update the join-field value of a containing box; to do
this:
1. Delete all of the matching records from its nested box (or
boxes). To be sure that you have deleted all the records
with matching join-field values, request READ NEXT operations
until the application indicates that no more records can be
found.
2. Use any UPDATE operation to change the record in the
containing box.
3. Use any INSERT operation to replace the records in the nested
box (or boxes).
8-16