Use Shared Value Fields

There may be times when you want to display a list of choices for a particular field in several different tables or even across separate applications. For example, you may have a list of status choices ("started", "on hold" and "complete"), all of which apply both to Projects and Tasks. Or maybe you'd like to take the list of cities that customers entered in one field and make it a dropdown list of choices in another field.

A shared value field allows you to take values from a Text or Numeric field and make them available as a dropdown list in another field. You can even do so across applications, if you want. This feature not only eliminates the need to manually type in values for each record, but also makes it easier to maintain the list because you make updates in only one location, not in separate tables and applications.

What a Shared Value Field Is and Isn't

A shared value field is not a list of acceptable values entered into a Text - Multiple Choice field.

Remember, it is preferable to use a relationship to populate a dropdown list. Don't use a shared value field to populate (for example) a list of customers drawn from the Customers table. Instead, create a relationship between the tables. When you do so, the relationship's reference field becomes the dropdown list of choices. (Read more about relationships.)

Do use a shared value field when you have several different tables or applications that need to access a list of known values unavailable elsewhere, such as Statuses, Project Phases, State Names, or Categories.

Create the source list

To create the source list:
  1. Open or create the application where you want to create the list of options.

  2. Create a new table and add a field, or find an existing table and field you're interested in using.

  3. Click SETTINGS, then click Fields. This field must have either a Text (but NOT a Text - Multiple Choice) or Numeric field type.

    Note: You cannot use a List - User or Multi-select Text field as the source of a shared value field.

  4. Within this table, create a new record for each choice that you want to appear in the list.

    To check your work, click the table name and select List All. You should see a list of all the choices you have created. In the Choices table below, values for three shared value fields are shown: Payment Method, Payment Status, and Category. The values shown for each field can appear in multiple tables and applications -- follow the directions below to see for yourself.

Share the field containing the source list with other apps

If you are planning to make your source list available to other apps, you need to name each app that you want to access it.

To allow a field to be the source for a shared value field:
  1. Open the field's properties page.

  2. Near the bottom of the field Properties page, locate the Shared values option and turn on the checkbox titled Values from this field may be a source for dropdown lists in other apps.

    Note: If this field is already shared with existing applications, those applications are listed here instead of the checkbox.

  3. Click the Add App link. Quick Base displays a list of applications to which you have access.

  4. Click the radio button to the left of the app that you want to have access to the values in the field and click OK. The application you chose appears below the Add App link.

  5. If you want to share the field with additional applications, repeat steps 3 and 4 for each one.

Configure a field to display a list of shared values

To configure the field that should display values from the source list:
  1. Open the application in which you want the source list to appear.

  2. From the table containing the field you want to configure, click SETTINGS in the page bar, then click Fields.

  3. Open the field's Properties page by clicking on its name.

  4. Within the Text field options section of the properties page, locate the Input type option and select From another field.

  5. Click the Select shared field button that appears to display a list of applications you can access.

  6. Click the radio button to the left of the application that contains the field with shared values you created in the previous section and click OK.

    A list of fields within that application opens.

  7. Select the field that contains the values you want to display in this field and click OK.  Quick Base displays your choice.

  8. Select how you want to sort the items in the list, and then click Save.

  9. Click Save on the Page bar.

 

Go back      |       |   

© 1999-2018  QuickBase, Inc.  All rights reserved.  Legal Notices.