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.

Portal Filter/show all

Featured Replies

Greetings,

Maybe someone can help - I have 2 tables 1. Quotes which has a unique field QuoteID and a global field gQuoteLocation and 2. Quote_Detail which has QuoteID, QuoteDetailID and QuoteLocation.

I've set up a layout with a portal so I can see the one to many relationship between Quotes and Quote_Detail. When I have the relationship set only for Quotes::QuoteID = Quote_Detail::QuoteID everything is fine. And then I have to go and get fancy.

I added a relationship so that Quotes::gQuoteLocation = Quote_Detail::QuoteLocation. Everything works as expected, that is, I can filter by location, as long as there's something in the Quotes::gQuoteLocation field.

My question then is -- how can I keep this relationship/layout and see all locations? I've tried putting * in the gQuoteLocation field, I've tried a return, I've tried keeping it blank.

What, pray tell, am I missing? Or do I need a separate relationship/layout to see all?

Thanks

Typically you'd make a calculated field in the related file:

"All" & ¶ & Quote_Detail::QuoteLocation

Then you could add "All" to your value list for Quotes::gQuoteLocation.

Make sense?

  • Author

Thank you very much. I was trying all sorts of variations on your suggestion and finally got it to work.

Apparently it has to be a Text field with an auto-calculation to work as opposed to a calculation field.

Again, very much appreciated.

MJ

Glad you got it to work. FYI a calculated field should work, unless the Quote_Detail::QuoteLocation field cannot be indexed for some reason. But if that were true then it shouldn't have been working as you had it.

  • Author

I don't know why I was having so much trouble but I'm relishing the fact that it's working now.

Thank you again for the tip.

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.