Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can a value list be shifted from a lookup?

Featured Replies

Hello

I would like to know if it is possible to do the following.

Have a field called "color"

Have a field called "intensity"

a Value list called "Regular" with the following RED, BLUE, GREEN

a Value list called "Pastel" with the following "PINK, GREY, YELLOW"

Is there a way to change value lists if the field "intensity is changed"

so if "intensity " = "REgular" the Regular list gets in the field color through a drop down.

But if "intensity " = "pastel" the pastel value list gets in the field color through a drop down.

I am just trying to find out how to do this?

Thanks

STan

FileMaker Version: 7

Platform: Mac OS X Panther

Try this:

Put all your colors in another table, along with an Intensity field:

Intens. Color

------ -------

regular Red

regular Blue

regular Greeen

pastel Pink

pastel Grey

pastel Yellow

Create a relationship from your main table to the color table, using intensity as the match field in both. Then define the value list to use related values from the color table.

Jeff

  • Author

THANKS Jeff but I am new to 7 . I got the table part but am having a hard time with the relationship part.

In the Relationships tab of the Define Database window add an occurance of your main table (the one where you want the value list to appear) and the new Color table. Connect intensity in the main table with intensity in the color table. By default, the details of the relationship should be the way you want them, but you can double-click the "=" between the tables if you want to see them.

Now, in the Define Value Lists window, select your Colors Value list and click Edit. Select "Use Values From Field". Click Specify Field. Specify the Color table and choose the color field from the list. At the bottom of the window, click "Include only related values" starting from "Main table" (or whatever your main table is called).

Now, whenever intensity = regular, the value list should include Red, Blue and Green. When intensity = pastel, the value list should include Pink, Grey and Yellow.

Hope that helps. Let me know if not.

Jeff

Hi Stan,

Dave asked me to clarify a little more, so I've attached an example file. There are two layouts, one for each table. Look at Define Database and Define Value Lists to see how I set it up. In addition to setting up a dynamic value list based on what's in the Intensity field, the checkboxes that display are based on what's in the Intensity field in the Colors table (visible on the Colors layout). Hope this helps.

Jeff

FileMaker Version: Dev 7

Platform: Windows XP

DynamicValueListsExample.zip

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.