Pathmaker Programming Guide

Deleting Rows
How to Operate a DB Requester Application
B–12 067868 Tandem Computers Incorporated
Deleting Rows Only those rows that are currently displayed on the screen can be deleted. To retrieve
rows to be deleted, any suitable read operation can be used. After retrieving a row(s),
the end user can request the following delete operations:
DELETE—To delete a single row.
DELETE BOX—To delete all rows within one box.
When a DELETE operation is requested, the cursor must be positioned within the row
to be deleted. When a DELETE BOX operation is requested, the cursor must be
positioned within the appropriate box.
The deleted row(s) can be replaced immediately after a DELETE operation by pressing
the UNDO key (shifted F13).
DELETE (F12) To delete a single row, the end user must initiate a DELETE operation. To initiate a
DELETE operation, the end user does the following:
1. Perform any read operation to retrieve the row that is to be deleted.
2. Position the cursor over the row to be deleted if more than one row appears in the
box.
3. Press F12 to delete the row.
DELETE BOX
(Shifted F12)
To delete all rows in one box at the same time, a DELETE BOX operation is requested.
Only those rows that appear on the screen can be deleted. To request a DELETE BOX
operation, the end user does the following:
1. Retrieve the rows to be deleted by requesting any suitable read operation.
2. If any rows appear that are not to be deleted, replace those rows with the default
row.
3. With the cursor positioned within the box containing the rows to be deleted, press
shifted F12 to delete the rows shown on the screen.
For applications that access Enscribe files, if the application encounters an error during
the DELETE BOX operation, it highlights the fields of the record in error. The
application then displays the following prompt on the screen:
Continue processing, Y/N, F1
If the application displays this prompt, the end user must enter either the character Y
(to continue) or the character N (to stop), and then press F1. If a Y is entered, the
application continues the DELETE BOX operation beginning with the record that
directly follows the record in error. If an N is entered, the application stops the
DELETE BOX operation. In this case, the application has already deleted any records
that appear above the record in error. If an UNDO operation is requested at this point,
the database can be returned to its previous condition.