Custom lists and their values
A list of values is the simplest way to keep a field clean: the user picks one of the values you allow instead of typing something. A list belongs to the company, not to one field — several code slots can draw their values from the same list.
Before you start: you need a code slot (Code 1 to Code 10) on the table where the field lives, and the list itself must exist. Create the list on Custom Lists with a Code of up to 30 characters and a Description that says what it is for.
Add the values a list offers
- Open Custom List Values — from Field Designer Setup with Custom Lists and then Values, or with Tell Me (Custom List Values).
- On each new line, fill Custom List Code with the list the value belongs to — for example DELIVERY.
- In Code, type what the field will store — up to 20 characters, for example OSLO.
- In Description, type what the value means to a user — for example Oslo warehouse.
- Repeat for every allowed value: BERGEN (Bergen office) and STAVANGER (Stavanger showroom).
- Close the page. No. of Values on Custom Lists now shows 3.

Example. Alpine Ski House AS delivers from three places, so the administrator creates the list DELIVERY (Delivery region) with the values OSLO (Oslo warehouse), BERGEN (Bergen office) and STAVANGER (Stavanger showroom), and points the customer field Delivery region at it. On the Customer Card of 10000 Adatum Corporation the user now chooses OSLO from a lookup instead of typing.
What happens. The field offers exactly the values of the list, in the lookup and in the value control on the card. Adding a value to the list makes it available immediately, on every record of the table. A value that is not in the list is refused when a user types it (see Fill in the fields on cards and documents).
If something goes wrong
| What you see | Why | What to do |
|---|---|---|
| The value code OSLO-WAREHOUSE-NORTH is longer than 20 characters. | A value code is a code of 20 characters at most. | Shorten the code; put the long text in Description. |
| Custom list DELIVERY is used by field Delivery region of table 18. Change that field before you delete the list. | A field still draws its values from the list. | Point the field at another list, or deactivate it, then delete the list. |
| Value OSLO is used in 12 records of table 18 and cannot be deleted. | Records still store the value. | Give those records another value, or keep the value in the list. |
