Hi everyone,
I'm new to Access; I'm trying to learn it by myself at the moment and trying to apply some of the concepts from the example database that comes with access (Northwind).
So I've decided to try to develop a software for my small business. I have tables for products, customers, invoices, etc... its all working really well except for one thing.
Right now I have a form for invoices with a sub form and I pick my customers from a dropdown menu that is populated using a query. What I would like to add next is another dropdown menu that would let me pick the customer’s shipping address. In my case each client has more than 1 shipping address and I figured it’s a waste of time to add an entry in the clients table for each separate shipping address.
So I've decided to make a separate table with the shipping information. I've created a relation between the tables: customers and shippingAddress using the customerID.
My problem now is that it won’t let me create a query to do my invoice. It’s kind of hard to explain but here's what my database look like right now:
Tables :
customers (contain a customerID set as AutoNumber)
shippingAddress (Relation 1-to-many with customers.customerID)
invoices (relation 1 to many with customers.customerID)
invoiceDetails
products
Both invoice forms are created from queries...now since I've added the table shippingAddress I can’t make a new query that would bring the information to the form invoice. It let me create it but it’s always empty.
What I want is a form where I pick the customers (that I can do) and then a dropdown menu is populated with that customers shipping addresses.
Thanks in advance for the replies, don't hesitate to ask if you need more details. Pointers in the good direction would be nice, this is proving to be quite frustrating at the moment
--
Sorry this post is so long, I just wanted to include as much details as possible so that you could understand my logic which is obviously not good
I'm new to Access; I'm trying to learn it by myself at the moment and trying to apply some of the concepts from the example database that comes with access (Northwind).
So I've decided to try to develop a software for my small business. I have tables for products, customers, invoices, etc... its all working really well except for one thing.
Right now I have a form for invoices with a sub form and I pick my customers from a dropdown menu that is populated using a query. What I would like to add next is another dropdown menu that would let me pick the customer’s shipping address. In my case each client has more than 1 shipping address and I figured it’s a waste of time to add an entry in the clients table for each separate shipping address.
So I've decided to make a separate table with the shipping information. I've created a relation between the tables: customers and shippingAddress using the customerID.
My problem now is that it won’t let me create a query to do my invoice. It’s kind of hard to explain but here's what my database look like right now:
Tables :
customers (contain a customerID set as AutoNumber)
shippingAddress (Relation 1-to-many with customers.customerID)
invoices (relation 1 to many with customers.customerID)
invoiceDetails
products
Both invoice forms are created from queries...now since I've added the table shippingAddress I can’t make a new query that would bring the information to the form invoice. It let me create it but it’s always empty.
What I want is a form where I pick the customers (that I can do) and then a dropdown menu is populated with that customers shipping addresses.
Thanks in advance for the replies, don't hesitate to ask if you need more details. Pointers in the good direction would be nice, this is proving to be quite frustrating at the moment
--
Sorry this post is so long, I just wanted to include as much details as possible so that you could understand my logic which is obviously not good