HP Integrity NonStop J-Series User Manual

Page 186

Advertising
background image

USING AN ENABLE APPLICATION
Undoing an INSERT, DELETE, or UPDATE

UPDATE Considerations for Applications With Several Boxes

If you request an update operation that changes the value of the
join field of a containing box, you can no longer use the
application to read any records in the nested box that have that
same join-field value. If this is a problem for your
application, do the following:

1. Request a read operation to retrieve the containing record.

2. Request a read operation to retrieve the nested record (or
records).

3. Delete the nested record (or records).

4. Repeat steps 2 and 3 until the application does not return a
record as a result of the read operation.

5. Change the necessary fields of the containing record.

6. Press F14 to update the record in the containing box.

7. Replace the nested record (or records) by requesting the
appropriate insert operations for the nested box.

If many nested records need to be deleted and replaced, consider
asking your data administrator for two single-file applications
that you can use to change the join field-values of these
records.

UNDOING AN INSERT, DELETE, OR UPDATE (SHIFTED F13)

You can reverse the effects of an INSERT, DELETE, or UPDATE
operation by requesting an UNDO operation. You request an UNDO
operation by pressing shifted F13.

8-33

Advertising
This manual is related to the following products: