Combo Box Name Selection

G

Guest

Hi. I have a Combo Box that includes the Last Name and First Name. When I
search for a record that has people with the same name i.e.-Smith, I can see
the multiple records, but when I try to select the record in the drop down,
it only displays the first record with the name Smith in the form.

How can I display the record that I select?

Thanks!
 
M

Mark

see the thread titled "Combo box NOT giving correct information!!! HELP" as
this was very recently asked.
 
G

Guest

Thanks. I'm learning as I'm going, created my Combo Box with the wizard.
Could you clarify:

1. How to set a bound column.
2. Where to type in the query.

I did find the column widths.
 
M

Mark

If your names table just had Firstname and Lastname, add a field called
RecordID, make it an Autonumber and make it the Primary Key. When you save
the table, it will assign a number to the records. Now, each new record you
add will have an ID number that uniquely identifies the record.

Then add a combo box to your form using the wizard. Add the RecordID,
Firstname and Lastname fields to the combo box. Since the RecordID is your
Primary Key, the wizard should default to using that field as the bound
field and will hide it so the combo box only shows the Firstname and
Lastname fields. The wizard will build the query for you as well.
 

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

Similar Threads

Making all controls match selection of combo box 0
Combo Box Problem 5
Combo Box Search 3
Drop Down Combo Box Help? 1
Combo Box Display 3
combo box lookup 4
Combo box to find records 1
Combo Box Help... 3

Top