I have four tables, the main one is like so:
table Person:
PersonID
Firstname
Address
Type ["Host", "Organizer", "Sponsor"]
the other 3 are like this:
table: Hosts
HostID
PersonID
table Organizers:
OrganizerID
PersonID
table Sponsors:
SponsorID
PersonID
Cash
Description
Each person can only be either a Host, Sponsor, or Organizer.
I have established the proper relationships in Access, but my problem is if i make a form to create Hosts say, it will create a person of type host, but it will not make an entry into the Hosts table linking the person's id. I presume this is because it doesn't know that the type field specifys which subclass the person is.
My question is how to get around this problem, can I somehow tell it that type indicates what other table to use, or can I manually insert them? (Since I have an individual form for each subclass)
table Person:
PersonID
Firstname
Address
Type ["Host", "Organizer", "Sponsor"]
the other 3 are like this:
table: Hosts
HostID
PersonID
table Organizers:
OrganizerID
PersonID
table Sponsors:
SponsorID
PersonID
Cash
Description
Each person can only be either a Host, Sponsor, or Organizer.
I have established the proper relationships in Access, but my problem is if i make a form to create Hosts say, it will create a person of type host, but it will not make an entry into the Hosts table linking the person's id. I presume this is because it doesn't know that the type field specifys which subclass the person is.
My question is how to get around this problem, can I somehow tell it that type indicates what other table to use, or can I manually insert them? (Since I have an individual form for each subclass)