I'm a beginner at Access and I can't seem to find the correct answer on any other forum online.
I have a number of tables, forms and queries set up, it's just the very basic that is stuffing me up.
To break it down, I have two tables
1. CompanyRegister - contains 2 fields CompanyID (Auto No and Primary Key) and Company Name
2. Contact Register - contains ContactID (Auto No and Primary key) and CompanyID as well as a number of contact details etc.
They are related through the CompanyID, referential integrity enforced. And I have run a query and used this to put together a form for data entry. What happens though, is that whenever two contacts from the same company are entered in (which will quite often need to happen), the company name is listed twice, with two different CompanyIDs in the CompanyRegister table. How can I get Access to recognise that it already exists and just enter it in once?
Thanks in advance
Leah
I have a number of tables, forms and queries set up, it's just the very basic that is stuffing me up.
To break it down, I have two tables
1. CompanyRegister - contains 2 fields CompanyID (Auto No and Primary Key) and Company Name
2. Contact Register - contains ContactID (Auto No and Primary key) and CompanyID as well as a number of contact details etc.
They are related through the CompanyID, referential integrity enforced. And I have run a query and used this to put together a form for data entry. What happens though, is that whenever two contacts from the same company are entered in (which will quite often need to happen), the company name is listed twice, with two different CompanyIDs in the CompanyRegister table. How can I get Access to recognise that it already exists and just enter it in once?
Thanks in advance
Leah