Modify choice list elements
You can add or remove elements from a selected choice list by using the
choice list's property sheet.
To modify choice list elements
- In the tree view, expand Object Stores >
object store name
and select the Choice Lists node. A list
of defined choice lists appear in the details pane.
- Right-click the choice list in the details pane and select Properties
from the menu. This opens the property sheet for the selected
choice list.
- Select the Choice Items tab. Use the buttons at the right of this
wizard screen to add or remove items or groups of items on the choice
list:
- Add Item lets you create individual
choice list elements.
- Add Group lets you create hierarchical
groupings for choice list elements.
- Edit lets you change the display name or value of the selected choice list item.
- Remove lets you remove groups and
items from your choice list.
The following topics show you how to create, remove, or reorganize
items and groups on the choice list:
- Once you've made changes in the property sheet, 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:
- Click Move Up to position the item
above the previous item.
- Click Move Down to position the item
below the next item.
To create new entries for your choice list
- Click Add Item to display the Add
Items screen.
- 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 will be mirrored in the Value
field by default. If the Choice list is an integer data type, then the Display Name will initially be set to 0 (zero) by default.
NOTE The name in the Value field is
the name that is entered in the database.
- If you want the value in the database to be different than the displayed
name, type that value in the Value field.
- Click Add to add the item to the choice
list.
- Continue adding items in this way until your list is complete, then
click OK.
To create a hierarchical
grouping of choice list elements
- Click Add Group to display the Add
Groups dialog box.
- Enter the name for your group in the Display
Name field.
- Click Add to add the group to the
list of groups.
- Continue adding items in this way until your list is complete, then
click OK.
- 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
- Select the group or item you want to remove. (You cannot select multiple
elements).
- Click Remove and the selected element
is deleted from your list.
CAUTION Removing
a group deletes all elements within that group.
To remove all elements from a choice list, select the choice list name
and click Remove.
NOTE This
only works within the property sheet.