2 2 Select Field s to Be Worked With

LANSA for i

2.2 Select Field(s) to Be Worked With

Many of the options that can be invoked from the field control menu will request the name(s) of the fields that you wish to work with (i.e. fields to be reviewed/changed, printed, etc). In all cases this field selection process is done in exactly the same way.

Initially a screen is presented that requests the name(s) of the fields to be worked with.

If you have been working with fields previously then the name will be pre-filled with the name of the last field you worked with.

 

 SELFIELD               Select Field to Work with                      

                                                                       

 Enter full or partial name of the data dictionary field(s) to be      

 worked with or leave blank to select from all fields in               

                                                dictionary . . . ______

                                                                       

                                                                       

                                                                       

                                                                       

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

 

 

 

Using this display you can nominate the field(s) required in 3 different ways:

  • In full. Enter the full name of the field required. If the field is found then the option chosen from the field control menu will be directly invoked for the field specified.
  • Partially. Enter as much as desired of the partial name of the field. A search is made for all fields which generically match the name specified and the resulting list is displayed for subsequent selection.
  • Leave blank. In this case a list of all fields in the data dictionary is displayed from which the desired field(s) can be selected.

When you press Enter, a list of fields is displayed.

 

 SELFIELD                  Select Field to Work with                   

                                                                       

 Enter full or partial name of the data dictionary field(s) to be      

 worked with or leave blank to select from all fields in               

                                           dictionary . . .  __________

                                                                       

 Sel Field       Description                           Type  Len  Dec  

  _  DEMAD1      Address line 1                         A     25       

  _  DEMAD2      Address line 2                         A     25       

  _  DEMAD3      Address line 3                         A     25       

  _  DEMCAT      Product category                       A     10       

  _  DEMCSC      Cost centre                            A      3       

  _  DEMCUS      Customer number                        A      6       

  _  DEMDDS      Division name in full                  A     30       

  _  DEMDIV      Division number                        A      2       

  _  DEMDUE      Date order due                         P      6       

  _  DEMLIN      Order line                             P      3       

  _  DEMNAC      Name code                              A      6       

  _  DEMNAM      Name                                   A     25       

  _  DEMORD      Order number                           A      6       

  _  DEMPCD      Post code                              A      4       

                                                                       

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

 

 

 

   In the Type column:

   RDMLX fields are identified by an X

   Visual LANSA components are identified with an *.

Using this display you can:

  • Alter the field name at the top right of the screen. The change can be to specify a full field name, a partial field name or a change to blanks. In all cases another search is made for the field(s) required.
  • Select one or more fields from the list by entering any non-blank character beside the field in the column labeled "Sel". If this is done then the option selected from the field control menu will be invoked for the field(s) selected.