HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)
Chapter 5 187
Reformatting Specifications
Relation of Forms to Output Records
Field Specifications
An Output Field Menu is issued for each field named in the preceding output record
definition. The designer can reformat the output field, or leave the field as it was written to
the batch file.
The following set of examples illustrates some ways in which the data from a batch file can
be reorganized in an output file.
Combining Data from Several Forms
Suppose data is entered on forms A, B, and C. The reformat file shown in Figure 5-3.
processes these records in sequence and writes them to one output record.
Figure 5-3. Combining Data from 3 Forms into 1 Output Record
data:
form A
form B
form C
form A
form B
form C
fields:
F1(A)
F2(B)
F1(C)
F3(A)
F2(C)
fields:
F1(A)
F2(B)
F1(C)
F3(A)
F2(C)
1
2
rec #
GLOBALS
INPUT FORMS SEQ
OUTPUT RECORDS
form A (Ref. Id)
form B
form C
field 1 form A*
field 2 form B
field 1 form C
field 3 form A
field 2 form C
OUTPUT FIELD 1A
OUTPUT FIELD 2B
OUTPUT FIELD 1C
OUTPUT FIELD 3A
OUTPUT FIELD 2C
* = start-of-record marker
REFORMAT FILE
BATCH FILE
OUTPUT FILE
rec#
1
2
3
4
5
6