HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)

316 Chapter6
USING VPLUS INTRINSICS
INTRINSIC DESCRIPTIONS
information is stored as follows:
Total = 176
For example, assume that the save fields buffer requires 242 bytes. The following user
labels are created by VOPENBATCH:
LABEL 0 — Contains first 80 bytes of Save Fields buffer
LABEL 1 — Contains remaining 162 bytes of Save Fields buffer
Note that the length of the save fields buffers is determined by taking the number of bytes
in each save field, summing them together, adding one byte, and then, if odd, rounding the
total up to an even number.
Creating Your Own Batch File
Should you want to create your own batch file rather than calling VOPENBATCH, you must
build the file using the above record format and user label requirements. Also, if you create
a batch file with variable-length or undefined-length records rather than fixed-length
records, browsing of the batch file is not allowed. Undefined-length records are formatted
like fixed-length records.
If you do, nevertheless, want to create a batch file with variable-length records for data
# of Bytes
2 — Product number
2 — (System use)
4 — Forms file version (date and time of compilation)
16 — Next form name
28 — Forms file name
120 — Reserved for system use
4 — Number of nondeleted records in batch file
1 25 53 173 177
Save
Fields
Buffer
ffname
(system use)
Version Number
(system use)
Prodcut Number
Number of
nondeleted
records
5 9 256
nfname
Save Fields buffer
byte
1
162