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

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

Recommended Posts

Posted (edited)

I am creating tables using the supertype/subtype model. I am wondering what is the standard in terms of which key field I should be using to create the relationships.

I have a contacts table which has a key field ContactID. A contact could be a supplier, a customer or both. If a contact is a customer a CustomerID is automatically generated and held in the contacts table. Also if a contact is a supplier a SupplierID is generated in the contacts table. I then have two tables holding details which are specific to customers and suppliers. Which key should I be using to create a relationship between the tables. Should I be using (1) the ContactID or (2) either the SupplierID or CustomerID.

Thanks in advance

Lee

Edited by Guest

This topic is 5354 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.