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.

Cond. Value List over 3 related files

Featured Replies

I am updating a solution created by someone else. Here's my problem: I have three related files:

Departments

Staff

Projects

Departments and Staff are related such that for each Department there are multiple staff members, and each staff member is associated with more than one department.

For each Project, A staff member and a Department need to be selected from a pop-up value list. I would like to use a conditional value list, so that once a Staff member is selected, only that person's associated Departments would appear in the Departments pop-up list. This seems elementary - but since there are three files involved, I haven't managed to make it work.

Can someone help me? Is there a trick I'm missing?

Many many thanks!

In the case of a many-to-many relationship, such as between Departments and Staff, you may want to create a go-between file called, say, Staff_Department or somesuch thing. This file only needs two fields: the unique id of the staff member and the unique id of the department.

A one-to-many relationship between Staff and Staff_Department will show all departments a staff member belongs to. A one-to-many relationship between Departments and Staff_Department will show all the staff members in a department.

As for your Projects file, you can do this:

Define a field, Staff_ID, which will look-up the unique Staff ID from Staff based on the name selected in the Staff valuelist. Note that Staff will require unique names for this to work properly.

Define a relationship from Projects to Staff_Department, matching Staff_ID.

Define your Department valuelist to draw values from Staff_Department using that relationship.

Hope this helps!

The key is a file with a list of staff members and the departments to which they belong. Create a relationship in the "Projects" file between the Staff field and the proper field in the list file. Then set the value list to include related items -- the departments field from the list file.

Don't you just love simultaneous posts?

Nice, succinct answer, Dan! I'm never sure just how much detail to include. smile.gif

  • Author

Thank you both so much!

*hard at work*

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.