HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)
Chapter 1 29
VPLUS Overview
Product Overview
Figure 1-4. Sample Field Menu
Data Type This attribute controls the type of data allowed in the field. Suppose you
want to make sure that only digits are entered. Simply change the data type from the
default type (CHAR for any character set code) to DIG. Or, if you want to allow entry of a
signed number with two decimal positions and a decimal indicator, you can change the
data type to NUM2 as shown in Figure 1-4. If the user enters a non-numeric value, an
error message appears.
Initial Value You can use the Field Menu to specify a particular value to be displayed in
that field when the form is first displayed at the terminal.
Full Field Editing
To specify full-field edits, you enter simple language statements in the lower portion of the
Field Menu, labeled Processing Specifications. These field processing specifications enable
you to check a field value for:
Minimum Length The value entered must be at least a specified number of
characters long. For example, MINLEN 10 means at least
ten characters must be entered in the field.
Equality The value entered must be less than, less than or equal to,
equal to, greater than or equal to, greater than, or not
equal to a specified value. For example, GE FIELD2 means
the value entered must be greater than or equal to the
value entered in a different field, FIELD2.
Range Check The value entered must be within (or not within) a range
of values. For example, IN 10:20,F1:F4,100:300 means
the value must be between 10 and 20, or between the
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.