Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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


This topic is 6527 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

This topic is 6527 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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