A
Applebaum
Hello,
I'm trying to create an easy datasheet form for data entry based on three
tables. The three tables are actually two in a many-to-many relationship,
with the third between them:
tblContacts
-----------------------
ContactID (pk)
Name
tblCompanies
----------------
CompanyID (pk)
Company
tblAffiliations
---------------
AffiliationID (pk)
ContactID
CompanyID
We need this to be a many-to-many relationship so we can track who worked
where and when.
I want an easy datasheet form for my users to fill in Name and Company.
After the record is entered, I want the following to happen:
1) New record added to tblContacts.
2) New record added to tblCompanies.
3) New record added to tblAffiliations, using the appropriate ContactID and
CompanyID.
I'll worry about preventing duplicates later. Can this be done?
Many thanks in advance!!
Matthew
I'm trying to create an easy datasheet form for data entry based on three
tables. The three tables are actually two in a many-to-many relationship,
with the third between them:
tblContacts
-----------------------
ContactID (pk)
Name
tblCompanies
----------------
CompanyID (pk)
Company
tblAffiliations
---------------
AffiliationID (pk)
ContactID
CompanyID
We need this to be a many-to-many relationship so we can track who worked
where and when.
I want an easy datasheet form for my users to fill in Name and Company.
After the record is entered, I want the following to happen:
1) New record added to tblContacts.
2) New record added to tblCompanies.
3) New record added to tblAffiliations, using the appropriate ContactID and
CompanyID.
I'll worry about preventing duplicates later. Can this be done?
Many thanks in advance!!
Matthew