Pathmaker Programming Guide
Inserting Rows
How to Operate a DB Requester Application
B–8 067868 Tandem Computers Incorporated
Figure B-1. Inserting a Record in a Nested Box
B1
STEP 1: Enter values in the fields of the parent box.
BRANCHNAME San Francisco__
MANAGER 23___
* PRIMKEY
REGNUM _1
BRANCHNUM _2
EMPNUM ______ EMPNAME ____________________ JOB ___________
AGE __ SALARY _______.00 VACATION ____
STEP 2: Press F10 to insert the record in the parent box.
STEP 3: Enter values in the fields of the nested box.
STEP 4: Press F10 to insert the record in the nested box.
BRANCHNAME San Francisco__
MANAGER 23___
* PRIMKEY
REGNUM _1
BRANCHNUM _2
EMPNUM 0123__ EMPNAME Joe Jones___________ JOB Salesrep___
AGE 39 SALARY ___3000.00 VACATION 1___
Note Values must not be entered in a nested box until a read or insert operation is requested for its parent box.
If values are entered in the nested box before an operation for its parent box is requested, the application
will remove the values from the nested box when it performs the operation on the parent box. If an
application automatically reads a row for the nested box whenever an operation for the parent box is
requested (that is, an AUTOFILL), the application will replace the values in the nested box with values
read from the database.