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
- 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.
- Right-click the choice list in the details pane and click Properties. The property sheet for the selected
choice list opens.
- Select the Choice Items tab. Use the following buttons to add or remove items or groups of items on the choice
list:
- Add Item creates individual
choice list elements.
- Add Group creates hierarchical
groupings for choice list elements.
- Edit changes the display name or value of the selected choice list item.
- Remove removes groups and
items from your choice list.
- 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
before the previous item.
- Click Move Down to position the item
after the next item.
To create 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 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.
- If you want the value in the database to be different from 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.
- Click OK.
To create a hierarchical
grouping of choice list elements
- Click Add Group to display the Add
Groups window.
- 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. 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.