Defining value listsIf a field uses the same set of text, number, date, or time values for many or all records, you can create a value list that includes those values. Then, format a field to display the values as a pop-up menu, a drop-down list, or as a series of checkboxes or radio buttons.
2. In Layout mode, use the Inspector to format a field to display the values in a pop-up menu, drop-down list, checkboxes, or radio buttons.
1.
3. In the Edit Value List dialog box, for Value List Name, type a name.
4. Select Use custom values, then type each value on a separate line, in the order you want them to appear.
5. Click OK twice to close the Edit Value List dialog box and then the Manage Value Lists dialog box.
6. A value list created using this method is dynamically updated whenever the values change in the field that the list is based on. Also, if the field is in a related table, you can show all the values in the field, or only the related values.
1.
3. In the Edit Value List dialog box, for Value List Name, type a name.
4. Select Use values from field.
5. In the Specify Fields for Value List dialog box, for Use values from first field, select the table that contains the field you want, and then select the field in the list.If the table you want is in another file and does not appear in the list, choose Manage Database from the list, and add the table to the relationships graph. See Creating relationships.
• To include all the field values in the value list, choose Include all values.
• To include only related values in the value list, choose Include only related values starting from, and choose a related table from the list. The value list will only display field values from records that satisfy the relationship criteria specified between the related table and the table containing the field selected in the Use values from first field list.For an example of a value list that displays only related values, see Example of a value list that includes only related field values.
7. To also display associated values from a second field, select Also display values from second field, select the table that contains the field you want, and then select the field in the list.Select this option to display the values from a corresponding field after the values in your value list. For example, to help with data entry, you could display part names next to part numbers. If Also display values from second field is dimmed, first select a field in the left field list, as described in step 5.Note During data entry, a value list that displays values from two fields still only enters data from the first field specified in step 5. The second field in the value list is for display only, and its value is not entered into any field. However, you could use a lookup to automatically enter the data from the second field. See About lookups.
• Choose Show values only from second field to display values from the second field, but store the data from the first field.If you choose not to select Show values only from second field, the value list will display both fields, for example, a pop-up menu displays both fields.Summary of Show values only from second field behavior:
9. If you want to display the values that are in a text field in a specific language’s dictionary sort order, select Re-sort values based on and choose a language. Otherwise, the values are sorted in the index order of the field’s default language. This setting is ignored for other types of fields.
10. Click OK to close the Specify Fields for Value List dialog box.
11. Click OK twice to close the Edit Value List dialog box and then the Manage Value Lists dialog box.
12.
1.
3. In the Edit Value List dialog box, for Value List Name, type a name.
4. Select Use value list from another file and, from the list, choose or create a file path that points to the file containing the value list you want to use.
5. From the Value list list, select the value list from the other file.Some value lists may be dimmed and cannot be selected. These value lists are defined to show only related values from a field and cannot be referenced directly from another file. Instead, use the Use values from field option. (You will also need to add the table from the other file to the relationships graph in the current file.) To create this type of value list, follow the instructions above for defining a value list based on values in a field.
6. Click OK twice to close the Edit Value List dialog box and then the Manage Value Lists dialog box.
7.
1.
In the list of value list names, select the value list, then click Edit. In the Edit Value List dialog box, make changes. Then, click OK.Note Redefining a value list item after data has been entered might cause unexpected results. For example, if you change a value list item from Accessory to Accessories, the field will appear to be empty on layouts where the field is formatted as a checkbox or radio button. Also, you will not find the existing records if you search for Accessories. In the list of names, select the value list, then click Delete. In the confirmation dialog box, click Delete again.
•
• If the value list you’re defining contains dates, make sure the values contain four-digit years such as 6/29/2014 instead of 6/29/14. During data entry, a date field formatted to display a value list containing two-digit year dates will convert them into four-digit years as described in Conversion of dates with two-digit years.
• For value lists with ODBC data, the No access privilege and Limited custom privilege are not supported. To prohibit a user from seeing ODBC data in a value list, you must enforce row-level security in the external SQL database. See Editing value list privileges.