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.

Needing help with relationships and value lists

Featured Replies

  • Newbies

I'm a FileMaker Pro n00b and am trying to create a database to keep track of my coin collection. What I am trying to do is this:

I have a field, "Denomination" which consists of a value list with different coin denominations: half-cent, large cent, small-cent, two-cent piece, three-cent piece, etc.

I have another field, "Type" which should be the specific type of a particular denomination. So for the small-cent denomination, the available types should be "flying eagle", "Indian head", and "Lincoln." For the three-cent denomination, the available types should be "nickel" and "silver."

I would like to get it so that the options available in Type are dependent on the selection in Denomination. I have a value list set up for Denominations, and type lists set up for each denomination, but have not been able to get it to work.

How can I do this?

Thanks in advance...

iPalindrome:

Here's one way to do it. Create a new database, called "Types.fp5" and put it in the same folder as your current database. In that database, create two fields, "denomination" and "type". Create records for all of your different types, where you fill in both denomination and type - make sure the denominations are spelled exactly the same each time (when they're the same).

Now, in your original database, create a relationship to this new file by going to File-->Define Relationships... and selecting the "Types.fp5" file. In the resulting relationship window, select your denomination field from your file in the left, and the denomination field from the new file on the right.

Going back to your current layout, go to your "type" field and, in layout mode, select it. Go to Format-->Field Format... and select "popup menu" using value list B) and go to "define value lists..."

In the subsequent window, click on "use values from field" and click on "specify", then in the next window, select "only related values" and specify the relationship you created, then you're done. Now, when you select a denomination, only those related types (from your other file) should appear in the value list for "type".

Hope that's right, and that it helps.

-Stanley

  • Author
  • Newbies

Thank you very much. It worked!

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.