matching data between 2 combo lists

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi
i have secently started to use access and i need help on something.I have 2
combo lists lastname&firstname in the same table linking fom the same
table(one customer id). i select lastname and i want the selestion of
firstname to be of the matching lastname only.how do i do that? thnx
 
Your table has fields like this:
CustomerID AutoNumber
LastName Text
FirstName Text

Your form has 2 combos?
One for LastName, and another for FirstName?
Would you consider combining these into one combo, so the user can select
the person by choosing their surname and first name at once? I generally
find that's easier and quicker to do.

If that sounds okay, use a combo with these properties:
Column Count 2
Bound Column 1
Column Widths 0
RowSource SELECT [CustomerID],
Trim([LastName] & ", " & [FirstName]) AS
FullName
FROM [Clients]
ORDER BY [LastName], [FirstName], [CustomerID];
 

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