Versions Compared

Key

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

7.12 CHANGE

Note
Note: Usage options

The CHANGE command is used to change the value(s) of a field(s).

...

The VALUE parameter allows an expression to be specified that is used to change the contents of the field(s) nominated in the FIELD parameter.

Portability Considerations

Refer to Parameters: PRECISION, ROUND_UP and TO.

Refer also to Portability Specifics in the LANSA Application Design Guide.

...

7.12.2 CHANGE Comments/Warnings

7.12.3 CHANGE Examples


Panel
bgColor#ffffcc

                                                                                                   Required

  CHANGE

No Format
Required  CHANGE 

-------

 FIELD 

FIELD --------

 field 

field /

 list name

list name(s)

 

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

                               expandable group expression                   >-- TO 


                                                  expandable group expression      

                      >-- TO ---------- value --------

 value 

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

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

                                                        Optional             >

--

 PRECISION 

----
                                                                                         

*COMPUTE 

       Optional

                    >-- PRECISION -- *COMPUTE -----

 

*

COMPUTE 

COMPUTE ------------

>                               total digits  total decimals             >-- ROUND_UP 

>
                                               total digits  total decimals

                   >-- ROUND_UP -- *NO ---------

 *NO 

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

                               


                                                 *YES