Combo Box needs more detail

C

Chris

Try putting this code in the combos ketpress event


If YourCombo.ListIndex > -1 Then KeyAscii = 0

Should do the trick
-----Original Message-----
I have a combo box on a form in which I do not limit the
list. In other words the user can select one of the list
items, or type in something else. I need to force some
limits the following way.
1. If no item from the list has been selected, then the user can type in anything,
2. If an item from the list is selected, I need to
prevent further typing into the combo box,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top