Multiple Choice Maps

Use multiple choice maps where you wish to offer the user a list of fields for selection. Multiple choice maps are defined where Window or Cleared window is specified for the table access mode and where the search method is Multiple choice.

Set up a multiple choice list by setting up the following maps:

Display multiple choice list

You specify the position of the choices in the pop-up selection. Add a local field for each line of the list. If the number of lines in the list could exceed the number of local fields add a field number 100 to permit the display of scroll bars:

(100)

 

(1)

(2)

(3)

(4)

(5)

(6)

Display fields from record

You can select one or more database fields to display in each line of the multiple choice list:
                       

Select map to attach to

You can specify a map to attach the multiple choice list to

To set up a multiple choice list displaying the key field:

  1. Select Map to display choice list in the Table Processing screen for the table
  2. Add a map, and set up a database field for displaying the item. Duplicate this field and position the fields on the map
    Add a field number 100 (25 characters in length) for displaying the more above/below message
  3. Set up the rows and columns on the Map Properties dialog to ensure that the cursor keys work intuitively

To set up a multiple choice list displaying more than one field:

  1. Add a Map to display choice list as above
  2. Use the local field option when specifying the position of the field, and make the size of the field large enough to accommodate all the fields you wish to display from the table
    Add a field number 100 as above
  3. Select Map to display item in list in Table Processing
  4. Add the fields that you wish to display from the table
  5. Set up the rows and columns in Map Properties dialog to make the cursor keys work intuitively

To select a map to attach to:

  1. Select Map to attach choice list to in Table Processing
    Specify the number of an existing map which will be displayed at this point in your program
  2. Add a field numbered (100 + the number of the choice list map) on the map to attach to

If you wish to use a multiple choice map for a non input field that is set up using a formula, you must set the search depth to the number of keys that must match. If you do not set the search depth, the multiple choice list will not be displayed