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 not working

Featured Replies

I want to set up a relationship which displays records from table A in a portal in table B. The records which should appear are those between start date B and FInish date B. There's a simple example in Filemaker Help for just this setup, but it's not working for me for some reason.

I set up a dummy match field in each table to test that the portal is correctly set up. This works fine, returning all the records in table A, but as soon as I add comparative operators to any other fields in the relationship (with or without the original dummy match fields), all the records disappear. I've checked that I'm using the right fields, and double-checked the date ranges to confirm that there are qualifying records.

Can anyone suggest what I may have overlooked? I have similar relationships between other tables in this database which are working fine.

Baffled of Barcelona.

This is a double non-equijoin relationship. Look at your Relationships Graph to see how tables A and B are related. In the connections dialog box you should have an AND'd relationship between date >= start date and date <= finish date.

In addition, if you were to list records falling within a given date Range while Table B has only one date field, your relationship should read

TableA ----------------TableB

IDA--- ---- = ------IDa

And gDateStart-- <= ----- Date

And gDateEnd-- >= ----- Date

  • Author

Thanks guys-

I located the problem in the end. My 'date' field in table A is a calculation field, but I had the calculation result set at 'number' instead of 'date'. Even though the result was returned in date format it couldn't be read by the relationship.

Jon

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.