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.

Relationship Output on Empty Field Contents

Featured Replies

This seems like a topic that has probably come up in the past but I'll post it now since I can't see anything similar in recent posts....

Is there a way to make FileMaker display related records when the join fields are both empty? Ex: gData is the global source selector and the related table has a "Data" field in it of various values, some of which may be empty. When gData is empty, is there a way to get the relationship to show records from the related table where the "Data" field is empty?

It would be nice if FM had wildcard special characters like * or ? to variate the relationship parent field to pull a range of related records when the relationship is a text join.

Thanks all.

David

FM v8.5 Advanced

You can't match on an empty value, so instead you would create a calculated key for both sides, where the parent key is:

case(isempty(gData);"zzzAll";gData)

and the match key is:

Data & "¶zzzAll"

Or if you prefer, have the calc look for a wildcard character instead of an empty field.

  • Author

Thank you very much for the direction. That works pretty well even though the child relationship anchors are calculations. I guess because the calc contents are exclusively indexable text, it still works.

The only drawback is that you can't create related records through such a relationship since the child anchors are calcs. No biggy. I can add a tab and call it "Browse Only" I suppose.

Thanks again. I'll put that in the mental hopper for future use.

David in Fishers Indiana

Edited by Guest

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.