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.

Relationships with an empty field

Featured Replies

  • Newbies

Good day. I am trying to create a multi-field lookup that will match all records to a blank field. Specifically:

File A File B

Field A1 = Field B1

Field A2 = Field B2

Field A3 = Field B3

All three of these are one (File A) to many (File :B relationships. The data enters File A in a portal. What I want to do is set this up so that, if one field in A is empty, the relationship will match all records for the corresponding field in B, and that the match would only be limited by the other fields. Ultimately, if all fields in A are empty, all records from B should come into the portal. What Filemaker seems to want to do is not evaluate the relationship at all if any of the fields in A are empty.

My attempt at a workaround was to use, for File B, calculation fields which used, for example, "" & P & Field B1, however, this configuration works exactly the same.

I have toyed with using an intermediate field in File A as the match field, which would not be displayed, but would calculate to some character string that I could use in File B if the field in File A was empty, but that seems like an awfully complicated solution to this.

Is there some way to match all values to an empty field in Filemaker 8.0v3?

Thanks,

Jay Allen

You will need two calculation fields for this (or more, if you are using multi-predicate join). For simplicity, let's take a simple relationship:

Parent::Value = Child::Value

In the Child (many) table, the calculation field is =

Value & "¶ALL"

In the Parent (one) table, the calculation field is =

Case ( IsEmpty ( Value ) ; "ALL" ; Value )

  • Author
  • Newbies

Yeah, that's what I was talking about as a possible work around. Just wondered if there was an easier way. However, I have implemented that for now, and it seems to be working.

Thanks much!

Don't know about easier, but you might find this thread interesting:

http://fmforums.com/forum/showtopic.php?tid/172518/

  • 8 years later...

This is incredibly helpful. :)

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.