473,320 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to configure autofill option for ComboBox.

eg: on entering a character/characters it should list out (shorten) all the items with the character/characters accordingly.The list should be visible to the user.
Aug 31 '10 #1
3 9758
missinglinq
3,532 Expert 2GB
This is standard behavior for a Combobox when the AutoExpand Property is set to Yes, which is the default for this property.

Welcome to Bytes!

Linw ;0)>
Aug 31 '10 #2
missinglinq
3,532 Expert 2GB
To have the items show, have the combobox drop down when the user enters it, using code like this:

Expand|Select|Wrap|Line Numbers
  1. Private Sub ComboBoxName_GotFocus()
  2.  ComboBoxName.Dropdown
  3. End Sub
And in the future, please don't send followup questions by PMs to members who have responded to your thread. It violates the rules of the forum and it precludes other members helping you. Simply add another post to your thread.

Linq ;0)>
Aug 31 '10 #3
I got the solution but I coded as,

Private Sub cmbCountry_KeyPress(KeyAscii As Integer)
cmbCountry.Dropdown
End Sub

And set to Auto Expand option to True.
Sep 2 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Marc | last post by:
Hi all, I have an application that uses a Pmw ComboBox to display a list that is dynamic. The user has the ability to add and delete items from the list at different points in the program. ...
0
by: s.fisk | last post by:
I installed the Google Toolbar and the Autofill option in the toolbar is shaded. I checked under Options and it is checked. Also pop up blocker dosen't seem to be stopping the pop ups
3
by: Anks | last post by:
Hi All, A user can control the AutoFill option by enabling / disabling the Remember Passwords option in Options - Privacy - Saved Passwords section. But is it possible to disable this option...
2
by: DBQueen | last post by:
Hi - In my A2K database, I have a form with 2 Unbound Comboboxes, both of which open up forms to a particular record. One of these comboboxes works perfectly. For some reason the 2nd one WILL...
0
by: Daniel Kaplan | last post by:
Anyone have experience using Google AutoFill? My state is highlighted as yellow, so I know Google sees it as an auto fill field, but it won't change the state. Works on other site I go to test,...
1
by: Lisa | last post by:
Trying to create a popup link on the outside of the : of a single Option Name. A Radio Button is being used. Ex: Sone Color: Please Select Pink Black White Etc. Pattern Accents:...
1
by: Sourabh Agrawal | last post by:
Hi all, I have a combo box with some cities name. When i type any city name i want to fill the combo with the the possible cities name. For example when i press letter "D" the cities name...
0
by: Randy | last post by:
Hi, I have some comboboxes that are created dynamically at run time based on user actions. I found a procedure on a message board to autofill the combobox text from the dataview that the...
0
by: KIBO | last post by:
Hi, I'm a non-windows programmer, and have been asked about creating modyifying a table to include autofill capability much like that of Excel. That is type in 1, 2, select those cells and drag...
13
by: BASSPU03 | last post by:
Hello, folks. This is my first post and I only began to work extensively with Access about 3 weeks ago. I'm running Access 2003 on Windows XP. I'd like a textbox in subform2 to reflect the value...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.