Combo Box Select As You Type (1 Viewer)

Learn2010

Registered User.
Local time
Today, 03:02
Joined
Sep 15, 2010
Messages
415
I have a combo box on a form. In the gotFocus Event I have Combo1.Dropdown so that the user gets a list of 20 records when they enter the box and before they start typing. I can get the first matching record to come to the top as they type. For example, I type "sa" and get sac, sad, sag, etc.

Is there a way to have it highlight the first record when that happens?

Thank you.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 03:02
Joined
Feb 19, 2002
Messages
43,257
NO. The first record is at the top of the list and should be obvious. Pressing tab completes the autofill if that is what you are after. Make sure that the RowSource is sorted by this text value or type ahead will not work correctly.
 

Users who are viewing this thread

Top Bottom