Modify choice list elements

You can add or remove elements from a selected choice list by modifying the property sheet of the choice list. The following sections show how to create, remove, or reorganize items and groups on the choice list:.

To modify choice list elements

  1. In the tree view, expand Object Stores > object store name and select the Choice Lists node. A list of defined choice lists is displayed in the details pane.
  2. Right-click the choice list in the details pane and click Properties. The property sheet for the selected choice list opens.
  3. Select the Choice Items tab. Use the following buttons to add or remove items or groups of items on the choice list:
  4. Click OK to accept the changes and close the property sheet.

To rearrange selected item in the list

In the list box, select the item whose order you want to move and do one of the following options:

To create entries for your choice list

  1. Click Add Item to display the Add Items screen.
  2. Enter the name you want displayed to the user in the Display Name field. If the Choice List is a string data type, then the Display Name is mirrored in the Value field by default. If the Choice list is an integer data type, then the Display Name is initially set to 0 (zero) by default.

    NOTE  The name in the Value field is the name that is entered in the database.
  3. If you want the value in the database to be different from the displayed name, type that value in the Value field.
  4. Click Add to add the item to the choice list. Continue adding items in this way until your list is complete.
  5. Click OK.

To create a hierarchical grouping of choice list elements

  1. Click Add Group to display the Add Groups window.
  2. Enter the name for your group in the Display Name field.
  3. Click Add to add the group to the list of groups.
  4. Continue adding items in this way until your list is complete, then click OK.
  5. To create a list of items within a group, select a group name from the list and click Add Item. Follow the steps for adding items.

To remove elements from a list box

  1. Select the group or item you want to remove. You cannot select multiple elements.
  2. Click Remove. The selected element is deleted from your list. Removing a group deletes all elements within that group.

To remove all elements from a choice list from within a property sheet, select the choice list name and click Remove.