I have a contacts table, tblContacts, containing info on people and companies (e.g. Northwind corp.). However, I plan to create two new tables, tblContactsPersons and tblContactsCompanies, to contain the data that isn't relevant to all contacts (for example, company contacts do not require a "LastName" field). These tables would then be linked by one-to-one relationships back to tblContacts by a contactID field.
However, how can I ensure that a single contactID is unique across tblContactsPersons and tblContactsCompanies? That is, how can I ensure that a single contact doesn't get logged as both a person and a company?
Thanks
However, how can I ensure that a single contactID is unique across tblContactsPersons and tblContactsCompanies? That is, how can I ensure that a single contact doesn't get logged as both a person and a company?
Thanks