HP 3000 Manuals

Summary [ HP ALLBASE/4GL Developer Self-Paced Training Guide ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Self-Paced Training Guide

Summary 

Validation ranges have the following properties:

   *   Validation ranges can be used to test whether user input data in a
       screen field is within a specified range of values.  Validation
       ranges can also be used for selecting records for reporting.

   *   A validation range specification requires an edit code.  These are
       the same as the edit codes that are applied to dictionary field
       specifications.

   *   You must specify the starting and finishing values for a
       validation range.  The acceptable values for a validation range
       include the starting and finishing values.

   *   If the edit code for a validation range is N or S, HP ALLBASE/4GL
       performs the validation check according to numeric values.  For
       other edit code types, HP ALLBASE/4GL performs the validation
       checking on a character by character basis using the system
       collating sequence.

   *   The validation range definition allows you to specify the name of
       a message to be displayed to the user if input data fails the
       validation check.  If you don't specify a message name, HP
       ALLBASE/4GL displays a system defined default message on
       validation failure.

This part of the training application is now complete.  The following
chapters introduce you to the module builder feature and how to extend
your application even further.



MPE/iX 5.0 Documentation