I’ve been having a problem with my combobox’s in a program in VB.NET. What I want it to do is when a user types into the combobox it finds the closest element that they are typing. Now this works great if you are manually entering in the data in the items but I have it connected to an Access table that fills automatically. There is 3 different options for the combobox style (
Simple,
DropDown, &
DropDownList) .
-If you use a
Simple it takes the first letter you find and finds closest item (doesn’t let you to continually type)
-
DropDown lets you type all you want but nothing pops up automatically until you press the down arrow or down key.
-
DropDownlist works similar to the simple where you type the first letter and it pops up the first element of that letter and doesn’t let you continually type.
I have a list of items that have a year in front of it …ex ( 2005 cars, 2005 SUV, 2005 Trucks) Now Ideally they can type in “ 2005” and it would pop “2005 cars” in the box but could continue to type “2005 t” and “2005 Trucks” would pop in the box. Right now I have it set up in a DropDown style and they can type what is close and they press the down arrow key and that works ok….but that auto fill would be nice. Anybody have this problem, or have any ideas?
The comboboxs in an access form work the same.
I’m new here so Hello to you all….or you programmers out there “Hello World!”
