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

140 Chapter4
Advanced Forms Design
LOCALEDITS
LOCALEDITS
Used to stipulate edits to be done within the terminal.
Syntax
LOCALEDITS
{edit1,edit2,...editn}
Parameters
edit
Table 4-2. lists available local edits along with their meanings. Refer to
Table 4-1. for valid local edit combinations. For example, you can specify
alphanumeric, required, decimal type, and number of digits to the right of
the decimal together. You cannot specify alphanumeric and upshift
together.
Discussion
This command allows you to specify local edits that are performed as keys are pressed by
the user entering data into the form. At run-time, VPLUS checks the terminal type and, if
the terminal supports local edits, loads the specified local edits to the terminal. If the
terminal does not support local edits, VPLUS ignores them.
The last three decimal edits in Table 4-2. alter the mode of the terminal; therefore, the last
field for which a decimal edit is specified that is displayed on the terminal alters the way
the terminal processes all fields until the terminal mode is changed by another screen
containing a decimal edit. All other local edit specifications affect only the field for which
they are specified.
When an invalid key is pressed, the terminal beeps, and an error message issued by the
terminal (not by VPLUS) is displayed. Press
RETURN to clear, then reenter data into the
field.
If you specify local edits with a form family, the local edits associated with the first
displayed form in the family are retained as subsequent family members are displayed (in
other words, it is not possible to change local edit specifications among family members at
run-time).
VPLUS "edit" processing specifications and "terminal" edit processing statements are
separate and are not checked for compatibility. There will be no check to see that the
designer has specified a terminal local edit (DEC_TYPE_EUR,DEC_TYPE_US) in the
configuration phase which is consistent with the language-dependent decimal indicator for
the native language specified in the forms file. For more information on Native Language
Support, see Section 8.