HPlogo HP Data Entry and Forms Management System (VPLUS) Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 2 Entering Data with ENTRY

Viewing and Modifying Data

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

You can view and modify data written to a batch file in data collection mode by using Browse/Modify mode.

Invoking Browse/Modify Mode

If you are currently in Data Collection mode, press BROWSE to invoke Browse/Modify mode. If you have exited from ENTRY, run the program again. When the forms file menu appears 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 in which you can enter data. To enter Browse/Modify mode in order to view data already entered, press BROWSE.

When you press BROWSE, 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 appears. 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 can 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 displays the following message:

There are no more batch records

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

There are no previous records

Resuming Data Collection

You can press COLLECT at any time to return to data collection mode. The next form in sequence appears. 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 f7 function key. In data collection mode, the key is called BROWSE; in Browse/Modify mode it is called COLLECT.

Viewing Data

When you browse the data in the batch file using PREV REC or NEXT REC, the selected form appears with data previously entered at the keyboard or generated by the system. That is, you see the form with calculated data as well as the entered data exactly as it appeared when you pressed Enter.

Only one record of data from the batch file appears on the screen with each selection of PREV REC or NEXT REC. If the data originates from a set of appended forms, the forms and data append when you press NEXT REC. However, when you move backward by pressing PREV REC, forms originally appended are displayed one at a time with data.

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 edited and 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, ENTRY recalculates the net price if, during normal data entry, ENTRY had calculated net price from the quantity and a unit price.

ENTRY rechecks the modified data according to any specified editing. If you change one field which consequently causes another field dependent on it to fail the edit check, you must correct the field that is now in error.

You can 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.

Figures 2-8, 2-9, and 2-10 show an example of data modification.

  1. Press BROWSE to enter Browse Mode and display the previous batch record. Since this is an appended form, you would only see the last appended form with data.

  2. Press PREV REC until the record to be modified, Batch Record #1, appears. Modify TAX RATE to 0.04 and press Enter. ENTRY recalculates SALES TAX and TOTAL PRICE and displays the next form.

  3. Press PREV REC again to see the recalculated values.

  4. Press COLLECT to continue data collection.

Deleting Data

You can 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 cannot insert a new record in the same position as the deleted record. ENTRY does not provide 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.

Feedback to webmaster