HP 3000 Manuals

MODIFYING DATA [ HP Data Entry and Forms Management System (VPLUS/V) ] MPE/iX 5.0 Documentation


HP Data Entry and Forms Management System (VPLUS/V)

MODIFYING DATA 

Data that has been written to a batch file in data collection mode can be
viewed and modified in browse/modify mode.

Entering Browse/Modify Mode 

If you are currently in data collection mode, simply press BROWSE to
enter browse/modify mode.  If you have exited from ENTRY, you must run
the program again.  When the forms file menu is displayed on the screen,
enter the name of the forms file used to enter the data and the name of
the batch file to which the data was collected.  ENTRY displays the next
form on which you can enter data.  To enter browse/modify mode in order
to view data already entered, press BROWSE.

When BROWSE is pressed, the data in the last record of the batch file to
which data has been written is displayed.  If you then press PREV REC, a
previous record is displayed.  You can also press NEXT REC to display the
next record in a forward direction.  Of course, you can only view data
that has already been entered.

You may press FIRST REC to display the data from the first record in the
batch file.  Then you can press NEXT REC to proceed sequentially through
the records in the batch file.  You can continue to press NEXT REC until
you have viewed each record in the file that contains data.  When the
last form with data has been displayed, pressing NEXT REC causes the
message to be displayed:

     There are no more batch records.

If you press PREV REC after displaying the first form, ENTRY responds
with:

     There are no previous records.


NOTE The keys PREV REC and NEXT REC in browse/modify mode refer to records in the batch file rather than to forms in the forms file.
Resuming Data Collection To return to data collection mode, press COLLECT. The next form in sequence on which data is yet to be entered will be displayed. You can then continue to enter data into the batch file that you have been reviewing in browse/modify mode.
NOTE The BROWSE and COLLECT keys are physically the same function key f7. If pressed in data collection mode, the key is called BROWSE; in browse/modify mode it is called COLLECT.
Viewing the Data When you browse the data in the batch file with PREV REC or NEXT REC, the selected form is displayed with data previously entered at the keyboard or generated by the system. That is, you see the form with its data exactly as it was when ENTER was pressed, with no errors and with any data generated by ENTRY displayed. The data from only one record in the batch file is displayed on the screen at a time. If the data is from a set of appended forms, the forms and data are appended with you press NEXT REC. However, when you move backward with PREV REC, appended forms with data are displayed one at a time. Modifying the Data You can modify any unprotected field by typing over the data displayed in the field. When you press ENTER, the modified data is written to the associated record in the batch file. Existing values are overwritten by the new values. When you change a field, ENTRY determines if the change affects other fields in the form. For example, if you change the quantity of an item on an order form, the net price will be recalculated if, during normal data entry, ENTRY calculates net price from the quantity and a unit price. Refer to Figure 2-6 for an example. The modified data is rechecked according to any specified editing. If changing one field causes another field dependent on it to fail the edit check, you must correct the field that now has an error. You may use REFRESH to reset the data on a form during modification. However, in browse/modify mode, ENTRY redisplays the data previously collected to the batch file, replacing any changes just entered; it does not clear the fields to blanks or reset initial values. Deleting Data You may delete an entire record from the batch file by pressing DELETE REC. Thereafter, ENTRY skips over this record when you browse through the data in the batch file. You must not delete a record expecting to insert a new record in the same position as the deleted record. ENTRY has no provision for inserting records; any new records are written to the end of the batch file. If you only want to delete a single field, modify the field to show all blanks and press ENTER. Press BROWSE to enter Browse Mode and display previous batch record.
[]
Press PREV REC until particular record to be modified, Batch Record #1, is displayed. Modify TAX RATE to 0.04. ENTRY recalculates SALES TAX and TOTAL PRICE and displays the next form.
[]
Press PREV REC again to see the recalculated values. Press COLLECT to continue data collection.
[]
Figure 2-6. Example of Data Modification


MPE/iX 5.0 Documentation