I am new on Access and currently use access 2003. I have read a few other posts already for other problems I have had and they have been very helpful, so I thought I'd post my own question as I couldn't find it in the posts..
I have two separate related tables, Contact and Company, and a form "add new contact". Contact has fields such as: ContactID, First Name, Surname, Address, City, Company ID, phone, etc. and a Main Contact field(Yes/No field).
Company has fields like:CompanyID, CompanyName, Address, City, Phone, etc, and a Main Contact field (text field).
On my "add new contact" form and "update contact" form, I have a checkbox (check if contact is main company contact).
What I would like to do is, when the checkbox is ticked, that the first name and surname of the contact on that form is automatically set into the company table under the Main Contact field.
I have tried creating a separate table called "Main Contact" with MainContactID for example, and etc. but the table will not update. I'm not sure if I am doing this the right way...
It's important for my database as each company has many contacts, and we need to identify on the company form which is the main contact.
Many thanks for your help in advance!!
Elodie
I have two separate related tables, Contact and Company, and a form "add new contact". Contact has fields such as: ContactID, First Name, Surname, Address, City, Company ID, phone, etc. and a Main Contact field(Yes/No field).
Company has fields like:CompanyID, CompanyName, Address, City, Phone, etc, and a Main Contact field (text field).
On my "add new contact" form and "update contact" form, I have a checkbox (check if contact is main company contact).
What I would like to do is, when the checkbox is ticked, that the first name and surname of the contact on that form is automatically set into the company table under the Main Contact field.
I have tried creating a separate table called "Main Contact" with MainContactID for example, and etc. but the table will not update. I'm not sure if I am doing this the right way...
It's important for my database as each company has many contacts, and we need to identify on the company form which is the main contact.
Many thanks for your help in advance!!
Elodie
Comment