I need some help with this simple database combo box (1 Viewer)

josetted7

New member
Local time
Today, 19:09
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: 71

Gasman

Enthusiastic Amateur
Local time
Today, 18:09
Joined
Sep 21, 2011
Messages
14,462
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.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 01:09
Joined
May 7, 2009
Messages
19,246
it is not Sorted by Name so add sorting to it.

select ID, CompanyName from your Table Order By CompanyName;
 

MajP

You've got your good things, and you've got mine.
Local time
Today, 13:09
Joined
May 21, 2018
Messages
8,605
you may be interested in a FAYT
 

Users who are viewing this thread

Top Bottom