Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.95 OVERRIDE

Note
Note: Usage options

The OVERRIDE command is used to override the data dictionary attributes of a field in a function or component.

Any field attribute (except the type) can be overridden.

Any overrides specified take effect only within the function. The LANSA data dictionary remains totally unaffected by the override.

Also See

7.95.1 OVERRIDE Parameters

7.95.2 OVERRIDE Examples


Panel
bgColor#ffffcc

                                                                                      Required

  OVERRIDE 

No Format
                                                       Required   OVERRIDE

-----

FIELD

 FIELD --------

field name

 field name --------------------->

 ------------------------------------------------------------------

                                                         Optional              >-- LENGTH -

                                                                                     Optional

                  >-- LENGTH ------

*SAME

-------------------------->

                                numeric value                                       incr/decr      *PLUS                                                      *MINUS                                                      *NONE                                       # to incr/decr *NONE                                                      numeric value              >-- DECIMALS ----- *SAME


                                               numeric value
                                                         incr/decr      *PLUS
                                                                            *MINUS
                                                                            *NONE
                                                      # to incr/decr *NONE
                                                                            numeric value

                 >-- DECIMALS ---- *SAME --------------------------->

                                numeric value                                       incr/decr      *PLUS                                                      *MINUS                                                      *NONE                                       # to incr/decr *NONE                                                      numeric value              >-- LABEL


                                               numeric value
                                                       incr/decr      *PLUS
                                                                          *MINUS
                                                                          *NONE
                                                    # to incr/decr *NONE
                                                                        numeric value

                 >-- LABEL --------

*SAME

--------------------------->

                                label name              >-- DESC


                                              label name

                >-- DESC ---------

*SAME

--------------------------->

                                text description              >-- COLHDG --


                                              text description

               >-- COLHDG -----

*SAME

--------

--

........---------------->

                                column heading                                 |             |                                 -- 3 maximum --              >-- EDIT_CODE ---- *SAME


                                             column heading
                                            |                          |
                                             -- 3 maximum --

               >-- EDIT_CODE -- *SAME ----------------------------->

                                edit code              >--


                                             edit code

               >-- EDIT_WORD

- *SAME ---

*SAME

-------------------------->

                                edit word              >-- INPUT_ATR ---- *SAME


                                            edit word

               >-- INPUT_ATR -- *SAME ----------------------------->

                                input attributes              >-- OUTPUT_ATR --- *SAME


                                            input attributes

              >-- OUTPUT_ATR - *SAME ----------------------------->

                                output attributes              >-- DEFAULT -


                                             output attributes

              >-- DEFAULT -----

*SAME

------------------------------>

                                default value              >-- TO_OVERLAY --- *NONE


                                            default value

              >-- TO_OVERLAY - *NONE --------------

1

------------à

                                #field name    start position              >-- SHIFT


                                            #field name    start position

              >-- SHIFT --------

*SAME

-------------------------------|

                                keyboard


                                           keyboard shift