+ Drop down in a table

G

Guest

My datebase consists of customers and purchase orders. In the customers
table, when I click on the "+" next to a customer, it gives me a list of
purchase orders for every customer. I would like a list of only purchase
orders for the individual customer. How can I change this?
 
D

Douglas J Steele

You really should build a form/subform combination, and link them to get
what you're looking for.

Tables aren't really intended to be used interactively.
 
G

Guest

I have a form and a subform.
--
Ronnie


Douglas J Steele said:
You really should build a form/subform combination, and link them to get
what you're looking for.

Tables aren't really intended to be used interactively.
 
J

John Vinson

My datebase consists of customers and purchase orders. In the customers
table, when I click on the "+" next to a customer, it gives me a list of
purchase orders for every customer. I would like a list of only purchase
orders for the individual customer. How can I change this?

By a) setting the relationship between your Customer table and
Purchase Order table to use the CustomerID, and b) by not using table
datasheets for anything other than debugging. Use a Form with a
subform instead - much more powerful, controllable and versatile!

John W. Vinson[MVP]
 
V

Van T. Dinh

Have you specified appropriate LinkMasterFields and LinkChildFields for the
SubformControl?

It is likely you need to specify "CustID" from tblCustomer for the
LinkMasterFields and "frg_CustID" ("frg" stands for ForeignKey) from
tblOrder for the LinkChildFields.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top