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.

How to enforce unique fk combinations in a linking (join) table

Featured Replies

Hello everyone,

I have a linking table with 3 fields (1 pk[row], and 2 fk[A___, B___]). How do i make the linking table with 2 parent tables, not allow duplicate foreign key rows in fmp?

--

This is bad (because row 1 and 3 are duplicates)

row A___ B___

1_pk a1_fk b1_fk

2_pk a2_fk b1_fk

3_pk a1_fk b1_fk

This is good (because the two foreign keys are never duplicated )

row A___ B___

1_pk a1_fk b1_fk

2_pk a2_fk b1_fk

3_pk a1_fk b2_fk

4_pk a2_fk b2_fk

Thanks for you help,

-enki

I am not sure I understand this - I THINK you can find the answer here.

  • Author

your link was brilliant.

(and even better, you provided 2 solutions.. double thanks)

Thank you.

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.