Field Conditions

598 Views


Field conditions define allowed values for fields.

Conditions record both the values that a field may take.

Conditions can be used in a number of ways.

The most common uses of conditions are:

■ Validating the entry of data

■ Specifying selection or omission of data from a logical view of the data

■ Specifying the processing conditions in a program that operates on the data

 Field name. . . . . : flag                       Attr. : STS                   
 Position  . . . . . :                                                          
 Enter condition . . :                            and type to add new condition.
              type . :     (Type: LST, VAL)                                     
                                                                                
 ? Condition                Type Op File/From value      Display/To value     MN
   *ALL values               LST **                                             
   display                   VAL    Y                    Y                      
   Edit/Add                  VAL    N                    N                      

--------------------------------------------------------------------------
 Field name. . . . . : Status (Active/Inactive)   Attr. : STS                   
 Position  . . . . . :                                                          
 Enter condition . . :                            and type to add new condition.
              type . :     (Type: LST, VAL)                                     
                                                                                
 ? Condition                Type Op File/From value      Display/To value     MN
   *ALL values               LST **                                             
   Active                    VAL    A                    A                      
   ALL                       VAL    *BLANK               *BLANK                 
   ALL Records               VAL    R                    R                      
   Inactive                  VAL    I                    I                      
-------------------------------------------------------------------------
 Field name. . . . . : Number of digits           Attr. : NBR                   
 Position  . . . . . :                                                          
 Enter condition . . :                            and type to add new condition.
              type . :     (Type: CMP, RNG)                                     
                                                                                
 ? Condition                Type Op File/From value      Display/To value     MN
   <10                       CMP LT 10                                          
   Greater Than 25           CMP GT 25                                          
   GT Zero                   CMP GT *ZERO                                       
   Less than 14              CMP LT 14                                          
   11                        CMP EQ 11                                          
   14                        CMP EQ 14                                          
   3                         CMP EQ 3                                           
                                                                                
-------------------------------------------------------------------------
  EDIT FIELD CONDITIONS                RxClaim Feb. D02 Release Model           
 Field name. . . . . : number                     Attr. : NBR                   
 Position  . . . . . :                                                          
 Enter condition . . :                            and type to add new condition.
              type . :     (Type: CMP, RNG)                                     
                                                                                
 ? Condition                Type Op File/From value      Display/To value     MN
   One                       RNG    1                    2                      
                                                                                

 

Post Comments