T
tomanddani via AccessMonster.com
I have three tables: BusinessContacts, IndividualContacts, and Donations.
BusinessContacts has a one to many relationship with Donations (Donations
being the many side). IndividualContacts has a one to many relationship with
Donations (Donations being the many side).
BusinessContacts table includes; BusinessID as the primary key. (autonumber)
IndividualContacts table includes; IndividualContactsID as the primary key.
(autonumber)
Donations table includes; DonationsID as primary key (autonumber), BusinessID
as foreign key (number), and IndividualContactsID as foreign key (number).
I would like to be able to add donation info to business contacts OR
individual contacts. Business contacts and Individual contacts are not
related except that they may both make donations. When I run a query to make
a form to input say a business contact and his donation it will not let me
save the record because I did not input a individualcontactID. How should I
relate these tables?
BusinessContacts has a one to many relationship with Donations (Donations
being the many side). IndividualContacts has a one to many relationship with
Donations (Donations being the many side).
BusinessContacts table includes; BusinessID as the primary key. (autonumber)
IndividualContacts table includes; IndividualContactsID as the primary key.
(autonumber)
Donations table includes; DonationsID as primary key (autonumber), BusinessID
as foreign key (number), and IndividualContactsID as foreign key (number).
I would like to be able to add donation info to business contacts OR
individual contacts. Business contacts and Individual contacts are not
related except that they may both make donations. When I run a query to make
a form to input say a business contact and his donation it will not let me
save the record because I did not input a individualcontactID. How should I
relate these tables?