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

30 Chapter1
VPLUS Overview
Product Overview
values entered in fields F1 and F4, or between 100 and
300, inclusive.
Table Check The value entered must be in (or not in) a table of values.
For example, IN 5,10,15,F7+5 means the value must be
5, 10, 15, or the current value of field F7 plus 5.
Pattern Check The value entered must match a particular pattern. For
example, MATCH Aaa-ddd means the value must start with
the letter "A" and be followed by two alphabetic letters, a
hyphen, and three digits.
Check Digit A check digit in the entered value is checked according to
modulus 10 or 11. For example, CDIGIT 10 checks the
value according to a modulus 10 check digit test.
Advanced Processing
Processing specification statements are similar to elements of a programming language in
that the order of entry is significant. Figure 1-5. shows a Field Menu that includes
advanced processing specifications.
Figure 1-5. Advanced Processing Specifications
In this example, the UPRICE field (already specified as required and numeric) is limited
further. The minimum value that may be entered in this field is 1. A custom error message
"MINIMUM ORDER IS $1.00" appears if the user enters any value less than 1. Also, if the
user enters a value greater than 10,000, a special next form, FORM2, appears when the
user presses
Enter.
PREV
FORM
NEXT
FORM
REFRESH
PREV NEXT MAIN/
RESUME
EXIT
FORMSPEC v.uu.ff Field Menu FORM NAME: SHIPTO
Initial Value
Num Len
[n ]
[n ] [ fieldtag ] [ HI ] [ 0 ] []
FType
DType
Name
Enh
*** Processing Specifications ***
QTY. PART NO. DESCRIPTION UNIT TOTAL
PRICE PRICE
qty.. partnum. description............................ uprice. tprice.
GE 1 “MINIMUM ORDER IS $1.00”
IF GT 10000 THEN
CHANGE NFORM TO “FORM2”