|
|
HP Data Entry and Forms Management System (VPLUS) Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 4 Advanced Forms DesignLOCALEDITS |
|
Used to stipulate edits to be done within the terminal.
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 “Local Edit Terminal Menu Selection” 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. Table 4-1 Summary of Processing Statements
Here is a table showing the local edit terminal menu selection and associated VPLUS local edits. Table 4-2 Local Edit Terminal Menu Selection
Table 4-3 Local Edit Terminal Menu Selection with Defaults
For each field, the user may select one edit from Table 4-2 “Local Edit Terminal Menu Selection” and any combination of edits from Table 4-3 “Local Edit Terminal Menu Selection with Defaults” according to the following guidelines:
Table 4-4 Local Edit Terminal Menu Items
Along with the selections from Table 4-2 “Local Edit Terminal Menu Selection” and Table 4-3 “Local Edit Terminal Menu Selection with Defaults” you may specify the number of decimal digits (DEC_DIGITS n) and select a decimal format (DEC_TYPE_US or DEC_TYPE_EUR). (Note that the DEC_DIGITS n setting may only be used with IMP_DEC or IMP_DEC_FILL edits.) Unlike other edits, DEC_DIGITS and DEC_TYPE edits are global terminal configurations that remain in effect until they are reset by another DEC_TYPE or DEC_DIGIT edit. Please note that VOPENTERM and VCLOSETERM do not reconfigure DEC_DIGIT and DEC_TYPE; these settings may carry over from one application to the next. |
|