Pathmaker Programming Guide

Inserting Rows
How to Operate a DB Requester Application
067868 Tandem Computers Incorporated B–7
Inserting Rows A new row can be inserted into (that is, added to) a table by entering the appropriate
values on the screen and requesting an insert operation. Two insert operations are
available:
INSERT—To insert a single row at a time.
INSERT BOX—To insert all entered rows within one box at one time.
When an INSERT operation is requested, the cursor must be positioned within the row
to be inserted. When an INSERT BOX operation is requested, the cursor must be
positioned within the appropriate box.
INSERT (F10) To insert a single row into a table, the end user initiates an INSERT operation. Before
an INSERT operation is initiated, appropriate values must be entered on the screen in
the columns of the row to be inserted.
The end user can accept the values currently displayed or enter new values on the
screen. The end user must, however, enter values for the primary key columns(s) and
any index columns that have been defined as requiring values. (Use the Help key to
see if this information is available.)
INSERT Operation for an Outermost Box
To insert a single row for an outermost box, the end user must do the following:
1. Enter appropriate values in the fields of the row.
2. Press F10.
INSERT Operation for a Nested Box
To insert a single row for a nested box, the end user must do the following:
1. Request a read or insert operation for the parent box.
2. Enter the appropriate values in the fields of the nested box.
3. Position the cursor within the row to be inserted if more than one repetition exists
in the box.
4. Press F10.
Figure B-1 illustrates a sample row INSERT operation for an application that displays
several boxes.