Define a custom field of your own
Defining a field means giving one slot a meaning: a caption your users read, the type of value it holds, and — for a code slot — either a list of allowed values or a table the value must come from. Then you switch the slot on.
Before you start: decide which table the field belongs to and which slot fits the value. For a list of values you need the list first (see Custom lists and their values); for a value from another table you need the relation and its visible fields (see Table relations and the fields a lookup shows).
Find the table whose field you want to define
- Open Field Designer Setup and find the row of the table — for the examples, 18 Customer.
- No. of Fields tells you the table has 32 slots; Active Fields tells you how many are already in use.
- Select the row and choose Field Setups. The page lists the 32 slots of that table, with Field No., Name, Caption, Type and Active.
- In Caption, type the name your users will read — for example Fleet size. Leave it empty if the slot name is good enough; the app then shows the slot's Name.
- In Type, choose what the slot holds. A slot of a non-code storage type is fixed to that type; the ten code slots offer Custom List or Table Relation.
- For a code slot of type Custom List, fill Custom List Code with the list. For a code slot of type Table Relation, fill Table Relation with the number of the table and Field Relation with the field the value must match.
- Select the row and choose Activate. The app checks the setup and refuses with a message if something is missing.
- Every change is written as soon as you leave the field. There is no separate save step.

Example. The administrator gives Text 1 (5750020) of the Customer table the caption Fleet size, leaves the type as Text, and chooses Activate. The app accepts the field, and from that moment the Customer Card of 10000 Adatum Corporation shows a row Fleet size in its Custom Fields part. The administrator then sets up three more customer fields the same way: Delivery region in Code 1 (5750000, type Custom List, list DELIVERY), Account manager in Code 2 (5750001, type Table Relation to table 13 on field Code) and Years with us in Integer 1 (5750010).
What happens. The field is switched on for the whole table, not for one record. Users now see it on every card, list and document of that table, and they can type values into it. The values are stored in the table's own fields, so they can be filtered, sorted and exported like any standard field, and they travel with the record when it is posted or archived.
Note: A field can be active without a caption; the slot's name is then shown. You can add the caption later without switching the field off.
If something goes wrong
| What you see | Why | What to do |
|---|---|---|
| You cannot activate field Fleet size. Choose the type Custom List or Table Relation first. | A code slot has no type yet. | Fill Type with Custom List or Table Relation, then activate again. |
| You cannot activate field Delivery region. Custom list DELIVERY does not exist. | The list code in Custom List Code does not exist. | Create the list on Custom Lists, or correct the code. |
| You cannot activate field Account manager. Choose the table and the field the value must come from. | A table relation is missing Table Relation or Field Relation. | Fill both, then activate again. |
| You cannot activate field Account manager. Select at least one field of table 13 to show in the lookup. | The relation table has no visible fields, so the lookup would be empty. | Choose Relation Visible Fields and add at least one field. |
| You cannot activate field Fleet size. The type Custom List does not fit the slot Text[250]. | The chosen type does not match the storage type of the slot. | Use a code slot for a list or a relation, or a slot whose storage type fits the type. |
| Deactivate field Fleet size before you change its type, list or relation. | The field is active, and its meaning cannot change while it takes values. | Choose Deactivate, change the type, list or relation, then activate again. |
