HP 3000 Manuals

REVIEW AND CORRECT ENTERED DATA [ USING VPLUS/V AN INTRO. TO FORMS DESIGN Self-Paced Training Guide ] MPE/iX 5.0 Documentation


USING VPLUS/V AN INTRO. TO FORMS DESIGN Self-Paced Training Guide

REVIEW AND CORRECT ENTERED DATA 

After entering data in a set of records, it is a good idea to proof the
data.  As you learned in Section 3, this can be accomplished with Browse
mode.

Action 

Press BROWSE to go into Browse/Modify mode and then press FIRST REC to
view the first record in the file.

You can then proceed sequentially through the entire file, checking the
data entered in each record, by pressing NEXT REC. Currently, there are
only two records in the file, NEWDATA. Note that you do not have to view
the data in the same session in which it was entered.  For instance, if
you have exited from ENTRY, you only have to request the same batch file
when you next run ENTRY and then immediately press BROWSE to view the
data.

Action 

Press EXIT, then issue the run command for ENTRY, as shown in Figure
4-15.  When ENTRY asks for the batch file name, type the file name
NEWDATA.

ENTRY then displays the form for Record #3, also shown in Figure 4-15.
Record #3 is the next available data record in the NEWDATA file, since
you have already entered the first two records.

Action 

Press BROWSE to go to Browse mode.

[]
Figure 4-16. The ORDER Form, Batch Record No. 1 When you press BROWSE, the last record entered is displayed, which in this exercise is Record #2 (shown earlier in Figure 4-16). Action Press FIRST REC to look at Record #1, as shown in Figure 4-16. If you find any errors, correct them by typing over the data and then pressing ENTER. The corrected data is written to the batch record, overwriting the previous data. If you do not find errors, simply press NEXT REC to display the next record.
[]
Figure 4-17. The ORDER Form, Batch Record No. 2 If you copied the data from Figure 4-14 exactly, then the word "Bicycles" is misspelled in Record #2. Action Press NEXT REC to get to Record #2. Press TAB to position the cursor at the Name field. Correct the error by typing BICYCLES over the word BYCLES. Press ENTER to write the corrected data to the batch file. Another method of correcting the error is to use Insert char to insert the missing letters I; Insert char is turned off when you press ENTER to record the correction. When you press ENTER, the corrected record is written to the batch file as Record #2, overwriting the original, erroneous version. If there were more records in this batch file, ENTRY would then display Record #3, still in Browse mode. However, since there are only two records in NEWDATA, ENTRY displays the message that there are no more records. Despite full field editing, you may find many such typing errors in a batch file. Editing cannot check everything--and the type of data entered in a field of type CHAR is not checked at all.
[]
Figure 4-18. The ORDER Form, Batch Record No. 3


MPE/iX 5.0 Documentation