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.

Need help with portal

Featured Replies

Hi,

I have two related tables in my file, I want the portal to display related records wend "g_Color" or "g_Type" fields are empty. I know the relationship parameters in g_Color and g_Type are wrong for my purpose, but I don't know how they should be.

Home:ID_Key = Cars:ID_Key

Home:g_Type = Cars:Type

Home:g_Color = Cars:Color

 

Thanks in advance...

Portal_filter.fmp12

Edited by Gilbert13

48 minutes ago, Gilbert13 said:

I want the portal to display related records wend "g_Color" or "g_Type" fields are empty.

Did you mean "I want the portal to display all related records when "g_Color" or "g_Type" fields are empty"?

An empty match field will never have any related records. If you want to filter the relationship using global fields like that, you will need to add a calculation field for each global and have it return a list of all values when the corresponding global field is empty. Then use these calculation fields as the match fields instead of the globals.

Alternatively, you could filter the portal itself instead of the underlying relationship. This is much simpler (see the attached demo), but it can get slow if the number of related records is large. 

 

Portal_filter+.fmp12

  • Author

Thank you so much for teaching me a better way.

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.