L
lefty
Per access help, i have created a junction table between ContactsTbl
and CompanyTabe to create a many to many relationship between the two
tables. The junction table contains ContactID and CompanyID fields
from each each of the tables. I've created a relationship between
ContactID in ContactTbl and ContactID in Junction table as well as a
relationship between CompanyID in CompanyTbl and CompanyID in junction
table. I'm having trouble wrapping my brain around the needed
relationships...and whether or not they should have referential
integrity. i would think that when a company is deleted, i would want
any corresponding contacts in the company deleted but if i deleted
contacts, obviously wouldn't want the company deleted. Any suggestions
on what types of joins? are the relationships i created correct?
Thanks
Lefty
and CompanyTabe to create a many to many relationship between the two
tables. The junction table contains ContactID and CompanyID fields
from each each of the tables. I've created a relationship between
ContactID in ContactTbl and ContactID in Junction table as well as a
relationship between CompanyID in CompanyTbl and CompanyID in junction
table. I'm having trouble wrapping my brain around the needed
relationships...and whether or not they should have referential
integrity. i would think that when a company is deleted, i would want
any corresponding contacts in the company deleted but if i deleted
contacts, obviously wouldn't want the company deleted. Any suggestions
on what types of joins? are the relationships i created correct?
Thanks
Lefty