I need some help with this simple database combo box

josetted7

New member
Local time
Today, 17:00
Joined
Mar 2, 2023
Messages
2
Hello all,

I am having a problem with my combo box.

I have the company names in my combo box, however, when I input in the first 4 letters of a name, only 1 name comes up even though I have 4 names that start with the same 4 letters. I want to be able to put in the first 4 letters and all the names with these first 4 letters show up. Can anyone help?

I'm pretty much a newbie, thanks in advance for all you help.
 

Attachments

  • access.jpg
    access.jpg
    77.8 KB · Views: 139
That is how comboboxes work, you only get to see one entry, until you click on it?
If you sort your source by name then you will see them all together when the combo drops down.
If you want to see them all at the same time, you could use a textbox for the criteria and a listbox to show the names that match.
 
it is not Sorted by Name so add sorting to it.

select ID, CompanyName from your Table Order By CompanyName;
 
you may be interested in a FAYT
 

Users who are viewing this thread

Back
Top Bottom