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.

Creating a value list based on another

Featured Replies

  • Newbies

Hi

I'm building my first database in FM Pro 9 and have the following problem:

I have two tables. The first contains contact names and uses a drop down value list with hard coded options to determine the type of contact (client, supplier, staff etc).

What I'd like to do is populate a drop down value list in a second, related table only with the contacts from the first table that are defined as suppliers.

Could somebody give me some pointers on how best to achieve this?

Thank you.

These are called "conditional value lists" do a search on the Forums for some information.

Basically, your contacts need to have a "Type" field that identifies them as supplier, etc. A conditional value list is then defined, based on the selected Type, to list all the contacts.

It's easier to DO than it is to EXPLAIN. :)

  • Author
  • Newbies

Hi Vaughan

Thank you for your reply.

I'm still having no luck with getting this done.

I've tried creating a value list in my second table based on related values in the first, but there doesn't seem to be a way to specify that the value of the 'Contact Type' drop down list should be 'Supplier' in any of the dialog boxes associated with creating a new value list.

In essence, I can pull the contact values into my second table fine as a value list, but I can't filter out those contacts which aren't defined in my first table as 'Supplier'.

I've also tried numerous calculations to try and give me what I need, but I still can't generate the correct set of results for my second table.

Could you (or someone else) walk me through what I need to do?

Thanks in advance.

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.