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.

How to load popup list based on criteria?

Featured Replies

Hello,

I have two popup fields that retrieve values from a second file. On one field I want to retrieve list of names that is of type X and on the second field I want to retrieve list of names that is of type Y. Where name and type fields are define fields on the second file.

I used the define value list to get the data from the second file for each of the popup field, but don't know how or where to put the criteria so that it only load the list for type X on one field and type Y for the second. Does anyone have any idea or is there another approach?

Thanks

kvt

You probably want to define the value list to use related values, and then set up a relationship to the second file using the criteria you want to select the values. There's a much more detailed description how to do this in the FM user manual.

  • 2 weeks later...
  • Author

How do I define a relationship if I have more than one criteria?

For example:

F1.popuplist1=F2.a WHERE F1.b=F2.c AND F1.d=F2.e

where F1=file1, F2=file2 and a,b,c,d,e are define fields

You need to make a compound key field in each file. In File 1, make a calculated field "Key1" with the formula:

B & "-" & D

and a calculated field "Key2" in File2 with the formula:

C & "-" & E

Then set up the relationship using the fields Key1 and Key2.

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.