Field Names [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
Field Names
Field names appear in FORMSPEC in two places. The first is on the form
definition itself and the second is in the Field Menu when processing
specifications for individual fields are defined. It is not a
requirement of FORMSPEC that the names for a field on a form be the same
in both places. This is just as well, because the reserved field names
used in HP Desk are ten characters or more and it is not always possible
to fit the name into the field on the form definition. Rather, it must
be specified on the Field Menu.
The reserved field names available for use in forms that are used in HP
Desk are as follows:
HPDESKDATE
The HPDESKDATE field name automatically substitutes the date on which the
form is displayed. The date will be shown as mm/dd/yy in US format and
dd.mm.yy in European format. Thus the field should be at least 8
characters or more.
HPDESKDATEFC
The HPDESKDATEFC field name automatically substitutes the date on which
the form is displayed. The date will be shown as mm/dd/yy in US format
and dd/mm/yy in European format. Thus the field should be at least eight
characters or more. This field differs from the HPDESKDATE field in that
if the user alters the date, it will be checked for validity as a valid
date format. Thus, it combines the features of HPDESKDATE and
HPDESKDATECHK.
HPDESKDATECHK
The HPDESKDATECHK field can be used to validate a date format that is
entered in a field.
HPDESKFILEEX
The HPDESKFILEEX field name can be used to check for the existence of a
file, the name of which is entered in a field.
HPDESKFILENEX
The HPDESKFILENEX field name can be used to check for the non-existence
of a file, the name which is entered in a field.
HPDESKTYPECHK
The HPDESKTYPECHK field name can be used to check that a valid HP Desk
type (for example an HP Word document or an MPE file) has been entered in
a field. Valid types are taken from the file FILETYPE.PUB.HPOFFICE.
HPDESKUSERNAME
The HPDESKUSERNAME field name will automatically substitute the HP Desk
name of the person filling in the form. The field width should be set to
at least 36 characters. Any less and an incomplete name may be
displayed.
If a form requires the use of a reserved word in more than one field it
will be necessary to add differentiating characters to the end of the
field name. For example, if two fields are required that default to the
name of the person filling in the form, the first field could be named
HPDESKUSERNAME and the second field could be called HPDESKUSERNAME1 with
a field specification to copy information from the first field.
MPE/iX 5.0 Documentation