Combo Box linking

D

Dave Hawks

I use a combo box to allow users to enter there names on a form. The combo
box is derived from a query on members names. When they click on the drop
down arrow at the right of the box a msg Box appears asking them to enter the
first initial of their surname. After entering the letter and clicking OK the
drop down list appears showing all surnames begining with that letter and
they then select their name and it appears in the box.
With some less computer wise users they click in the box to the left of the
arrow and start to type their name instead. As soon as they type the first
letter the query box opens and they then click OK or cancel to clear it and
must Tab out of the field and start again.
Is it possible to ensure that the Msg Box appears if you click directly into
the box or on the drop down arrow.
Thanks
 
K

Klatuu

Seems a bit clumsy for the users. If you use the Auto Expand property set to
Yes for your combo, as soon as the user types the first letter of his
surname, the first surname that begins with that letter will appear in the
combo. the Auto Expand is what is often called "typeahead". It keeps
chaning as you enter letters.
If you want the combo empty before they start, you can put a line of code in
the form's Current event:

Me.MyCombo = Null
 
K

Klatuu

Thanks, Barry, I forgot about that trick. I haven't used it, but I read it
and it seems like a great approach.
 
D

Dave Hawks

Thanks for the ideas.


--
Dave Hawks


Klatuu said:
Thanks, Barry, I forgot about that trick. I haven't used it, but I read it
and it seems like a great approach.
 

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

Paragraph numbering in Word 1
Combo box 0
Search combo box 2
drop down box issues 1
Combo Box problem 0
Combo box Selection 0
Combo Box case sensitivity 0
Update Combo Box 4

Top