HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)
Chapter 3 69
INTRODUCTION TO FORMS DESIGN
EASE OF FORMS DESIGN
DIG Data entered in a field of this type must be a positive
integer. No sign, no commas, and no decimal point can be
included. As with NUM data, validity checks are
performed on this data type.
For example, 10030, 2 and 307 are all legitimate entries
in a DIG field, but 10.5, 100,000 or -10 are not.
IMP n A value entered in an IMP field has an assumed decimal
point. The assumed decimal point is n places from the
right of the value. (Note that the value, n, must be
specified.) Although permitted, a decimal point should not
be entered in this type field, but commas and an optional
leading sign (+ or -) are allowed. As with NUM type data,
validity checks are performed on data of this type.
For example, if the data type is IMP2, and the user enters
the value 500, the value is treated as 5.00.
With Native Language Support, the symbols accepted for
thousands and accepted or required for decimal indication
are language dependent. For more information on Native
Language Support, see Section 8.
Date Types.
MDY A date entered in an MDY field must be in the order: month, day, year. The
data can be entered in any format, such as FEB 6, 1986 or 02/06/86 or
FEBRUARY 6 86 and so forth.
DMY A date entered in a DMY field must be in the order: day, month, year. It
can be any format, such as 2 MAR 1986 or 02-03-86 or 2/3/86 and so
forth.
YMD A date entered in a YMD field must be in the order: year, month, day. It
can be in any format such as 1986, APRIL 12 or 86/4/12 or 86-04-1 or
860402.
Table 3-4. How Each Numeric Data Type Interprets Entered Values
Entered
Value
Interpreted Value (Based on data type)
NUM2 IMP2 NUM NUM0 DIG
10.95 10.95 10.95 10.95 (error) (error)
1095 1095.00 10.95 1095 1095 1095
10.9 10.90 10.90 10.9 (error) (error)
10.956 (error) (error) 10.956 (error) (error)
-100 -100.00 -1.00 -100 -100 (error)
1,000 1,000.00 (error) 1,000 1,000 (error)
1,00000 (error) 1,000.00 (error) (error) (error)