You are here: LANSA for i User Guide > 2. Fields > 2.6 Field Rules/Triggers > 2.6.6 Add a New Rule or Trigger

2.6.6 Add a New Rule or Trigger

A pop-up will appear when the ADD function key is used from the previously described display of all existing rules and triggers.

 

 DC@P700101                Select Rule / Trigger                       

                                                                       

 File         : XXX   ...................................        (XXXX)

 Field        : XXX   :      Add Rule / Trigger         :        (XXXX)

                      : Use cursor to make a selection. :         Usage

Sel Seq Description   :   Range of Values Rule          :   ce    A/C/D

       **** DICTION   :   List of Values Rule           :              

 _  10 Check not bl   :   File Entry Lookup Rule        : TIONARY Y Y Y

 _  20 Check valida   :   Evaluate Expression for Rule  : TIONARY Y Y Y

                      :   Call User Program for Rule    :              

                      :   Date Range/Format Rule        :              

                      :   Add a Trigger                 :              

                      :   Cancel Add Request            :              

                      : Fnn=Help Fnn=Messages           :              

                      :.................................:              

                                                                       

                                                                       

 Fnn=Help  Fnn=Exit  Fnn=Cancel  Fnn=Messages                          

 

 

Reposition the screen cursor, within the pop-up, on the same line as the type of rule (or a trigger) you wish to add, and then press the enter key.

Once a type of rule (or a trigger) has been selected the next display will ask for a detailed specification of the rule or trigger. These displays are described in detail in these sections.