Combo lookup based on previous selection.

  • Thread starter Thread starter Pete
  • Start date Start date
P

Pete

I have a customer database (i.e standard Name/Address/Contact)

I have a form, where a combo box is displayed and you can select the
customer. The full details of the customer are displayed when selecting the
combo box, but not after the item is selected (is it possible to display the
Full Details on the form/linked to the customer database)

Each customer, may then have several sites. Is it possible to bring up a
second combo box to select the site (this would need to be filtered based on
the previous customer selection), and add a new site if required?
 
Yes, you can use a similar technique to filter or find the record on the
AfterUpdate event of the second combo.

For an example of how to use the AfterUpdate event of the first combo to
filter the second one, see:
Limit content of combo/list boxes
at:
http://www.mvps.org/access/forms/frm0028.htm
 

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

Back
Top