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.

The 'X' operator vs Un related tables.

Featured Replies

There is something I don't quite understand about the x operator. Why do I need to define two fields to relate using an operator that specifies don't bother compairing the fields? (I already understand the 'parents' answer to this. Do it this way because this is the way you have to do it!')

Does it ever matter what two fields you use in the relationship? For that matter why do you even need a relationship, couldn't you use a non related table. (Again the 'parent' answer applies here.)

Any guru's explain this? It seems like a doubious advantage over including a 'constant' field in each table like in previous versions of FMP.

TIA

Jerry

It doesn't matter which fields you use. In fact, you can delete the fields AFTER creating the relationship, and the relationship will remain (looks kinda cool in the graph).

I don't know what the 'parent' answer is, but no - you couldn't use a non-related table instead. If you could, then you wouldn't need a relationship. You cannot see records from a non-related table in a portal. You cannot refer to fields from a non-related table in calculations (except globals). And so on.

  • Author

The 'Parent' answer was my attempt at humor.

Has a parent ever said to you, or you said to a kid;

"You do it this way, because I told you so!"

Jerry

In fact, you can delete the fields AFTER creating the relationship, and the relationship will remain (looks kinda cool in the graph).

I'm probably a moron, but it's not obvious to me how to do this... Please explain. TIA

I am not sure what is there to explain.

Define a field Dummy in TableA.

Define a field Dummy in TableB.

Define a relationship:

TableA::Dummy x TableB::Dummy

Now delete the field Dummy in both tables (overriding the warning).

  • Author

Is that just a FM trick or is there a (good) reason to delete the fields in each table?

Jerry

It helps to see that the relationship is not depending on any particular field. Whether that is a good reason is a matter of opinion. The relationship will work either way.

Aha! I had interpreted it to mean that the fields were deleted from the relationship in the relationship graph, not the actual field in the table. Hopefully this elevates me from moron to idiot :P

Could updates to FileMaker break this behavior? Has FileMaker strictly defined the behavior of broken relationships?

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.