HP 3000 Manuals

INTRODUCING ENTRY [ 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

INTRODUCING ENTRY 

In order to enter data into a set of forms, you run

ENTRY. The forms must be in a forms file designed through FORMSPEC. To
run ENTRY, enter the following command in response to the MPE colon
prompt:

     :RUN ENTRY.PUB.SYS  RETURN 

When the operating system accepts this command, ENTRY is in control.  You
use ENTRY to perform the following data entry functions:

 *  Name the forms file containing the forms to be displayed.

 *  Create a batch file to contain the entered data or access an existing
    batch file.

 *  Enter data on the displayed forms, correct any errors detected by
    ENTRY. Valid data is written to records in the batch file.

 *  Look at the data written to the batch file records.

After you name the forms file and batch file in line mode, ENTRY
transfers to block mode, described earlier.

Data Collection 

The data is typed into the "unprotected fields" on the forms displayed at
the terminal by ENTRY. When you have typed in all the data in a
form, press ENTER. ENTRY then processes the data according to the
specifications for the form defined through FORMSPEC. If it detects any
errors, ENTRY re-displays the form, highlights the fields with errors,
and displays an error message for the first error.  When all errors have
been corrected, ENTRY accepts the data, writes it to the named batch
file, and displays the next form.

The sequence of the forms is completely determined at design time.  Your
only control over forms sequence in Collect mode is through function keys
that allow you to request the "head" form or to stop a repeating form.

Browse and Modify 

The data entered through each form is written to a single record in a
batch file maintained by ENTRY. You may look at and correct, if desired,
the data in each record.  ENTRY has a browse/modify mode selected by
pressing a function key.  In this mode, you are shown the data previously
entered and edited in any form.  Using function keys you can display any
previously entered data.  The data is shown as it appeared when you
entered it, and you can correct data at this point and then press ENTER 
to record these corrections in the batch file.

The next sections of this manual illustrate, through working examples,
exactly how you enter data, view the entered data, and modify it if
needed.

ENTRY Function Keys 

The function keys on the terminal keyboard are assigned special functions
for ENTRY. These functions differ slightly depending on whether you are
operating in browse/modify or data collection mode.  The function keys
are illustrated in the following diagrams, Figure 1-4 for data collection
and Figure 1-5 for browse/modify mode.

[]
Figure 1-4. Function Key Labels for ENTRY in Collect Mode The ENTRY labels and their functions are: HEAD FORM Press to display the first form (as defined in FORMSPEC). PRINT Press to print current form on line printer. REFRESH Press to clear data from current form. NEXT FORM Press to terminate display of repeating form and display next different form. BROWSE Press to enter Browse/Modify mode. EXIT Press to exit from ENTRY.
[]
Figure 1-5. Function Key Labels for ENTRY in Browse Mode The ENTRY labels and their functions are: FIRST REC Press to display the first record in data file. DELETE REC Press to delete current record. PRINT Press to print current record on line printer. REFRESH Press to clear corrections from current record. PREV REC Press to display previous record. NEXT REC Press to display the next record. If the record already displayed is the last record, a message is displayed that states there are no more batch records. COLLECT Press to return to Data Collection mode. EXIT Press to exit from ENTRY. Terminating ENTRY You can terminate ENTRY and return to MPE control at any time by pressing EXIT. Any data entered with ENTER is recorded and written to the data file. When you run ENTRY again with the same batch file, the next form in sequence is displayed. The next record written to the batch file follows the last record written in a previous session.


MPE/iX 5.0 Documentation