ENABLE Reference Manual

ENABLE FUNCTION KEYS
Single-File DELETE Operations
• DELETE BOX--To delete several records at one time (Normally,
you use this type of DELETE operation only for applications
that display screen pairs for more than one record.)
You can reverse a DELETE operation by requesting an UNDO
operation. Refer to the description of the UNDO operation for
more information.
DELETE (F12)
A DELETE operation removes a single record from a file. If an
application displays more than one record, you must place the
cursor within the record to be deleted before you request the
DELETE operation.
DELETE BOX (SF12)
A DELETE BOX operation removes one or more records from a file.
Before you request a DELETE BOX operation, you must read all of
the records you plan to delete. When the application success-
fully completes the DELETE BOX operation, it issues a message
stating the number of records that it deleted. If an error
occurs during a DELETE BOX operation, the application:
• Issues a message identifying the problem
• Highlights the fields of the record in error
• Displays a prompt at the top of the screen that asks whether
you want to continue processing. When this prompt appears you
must type either the letter Y or the letter N and press the
indicated function key. If you enter the letter Y to continue
processing, the application continues the DELETE BOX
operation with the next record. If you enter the letter N to
stop processing, you can request an UNDO operation and reverse
the effects of the DELETE BOX operation.
Note that a DELETE BOX operation only affects the displayed
records. A DELETE BOX operation does not delete other records
that have the same join-field value but that are not displayed in
the box.
8-11