Hi Tyler.
>> I have a combo box with an ID in one column and a name in the second column. Is it possible so that the user can type the first letter of the name and have the ID show up as the displayvalue? <<
I'm a bit confused by your question and not sure what you are really asking.
Combo boxes always take their DisplayValues from column #1 of their RowSources.
If you are asking about Incremental Search, set the style property of the combo to 2-DropDown List, Set IncrementalSearch = .T. and put this code in the GotFocus:
_DBLCLICK = 1.5
And this code in the LostFocus
_DBLCLICK = .5
It is the system variable _DBLCLICK that determines how long VFP will "wait" between keystrokes before resetting the search string in an incremental search.
If you are asking about something else, I don't have an answer because I don't understand the question ;-)
M
.Signature
{
margin-top: 12px;
color: #666666;
}
.Signature a
{
color: #666666;
}