Rex,
Is the IncrementalSearch property set to .F.? That's how it has to be set for my usggestion to work.
>
>Thanks for your response. Unfortunately, I cannot get any new info into the ComboBox. It appears to be using the trying to be searching the existing list based on what I am typing and when it cannot find a match, returning the value of the first record.
>
>This is a custom ComboBox, so I probably need to create a base class and keep adding code until the Combo breaks.
>
>Thanks
>
>Rex
>
>>Hi Rex,
>>
>>1. Set buffering to Opt. Table buffering for the RowSource table.
>>2. In the LostFocus of the combobox, put:
>>INSERT INTO rowsourcetable (field) VALUES (This.DisplayValue)
>>3. Make sure you have a TABLEUPDATE() somewhere to save the changes. If you want immediate saves, put it after the INSERT.
>>
>>This should do it.
>>
>>
>>>
>>>I am trying to use a DropDown ComboBox to not only select an existing value, but also to enter new values. I am using a RowSourceType of 6 - Fields in the ComboBox and am unable to type new info into the control.
>>>
>>>What am I doing wrong?
>>>Do I have to use another RowSourceType to be able to enter new data?
>>>
>>>TIA
>>>
>>>Rex
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05