Searching Combo Box for text field

Griffin

New member
Local time
Today, 16:52
Joined
May 22, 2005
Messages
7
:mad: I have a combo box which is being used for surname searching. It displays surnames in the first column and first names in the second column. I would like the user to be able to type or select a surname from the dropdown list and where there are multiple entries of that surname select the correct record. At present the first matching surname is the one that keeps being selected.

I am displaying the complete record in fields lower down in the same form.

I also have a firstname search combobox but the code will be almost identical.

Can someone help me with this problem. Thanks in advance.
 
If you are only typing in the surname to search then how else can it determine the forename other than just selecting the first record that meets the criteria?
 
"I would like the user to be able to type OR select a surname from the dropdown list and where there are multiple entries of that surname select the correct record." It is a Combo box not a List box; the chosen record is displayed in the fields below in the same form. If it is the incorrect record that would be obvious.
 

Users who are viewing this thread

Back
Top Bottom