Good Afternoon All,
I am trying to create a Contacts Database for my Work.
However I am having some slight issues linking the required fields.
I currently have a Customers form which will show all customers, but when you double click on the ID, it will take you a list of the branches of that customer.
I have 2 tables. tblMainCustomer and tblSubCustomer. They both have a unique ID's.
When you add a branch (subcustomer) I need it to automatically register which MainCustomer it is.
I believe I need some code on my Form to add a new branch. For it to enter the correct MainCustomerID on my tblSubCustomers table.
I have attached my database so far. Sorry if i haven't explained it very well. I am quite new to Access.
Thanks in advance for your help and suggestions.
I am trying to create a Contacts Database for my Work.
However I am having some slight issues linking the required fields.
I currently have a Customers form which will show all customers, but when you double click on the ID, it will take you a list of the branches of that customer.
I have 2 tables. tblMainCustomer and tblSubCustomer. They both have a unique ID's.
When you add a branch (subcustomer) I need it to automatically register which MainCustomer it is.
I believe I need some code on my Form to add a new branch. For it to enter the correct MainCustomerID on my tblSubCustomers table.
I have attached my database so far. Sorry if i haven't explained it very well. I am quite new to Access.
Thanks in advance for your help and suggestions.