>>>>I want to let the users ADDITEM to a combox?
>>>>Not sure how to go about it? Do I open
>>>>a entry place and if so how?
>>>
>>>To save myself from troubles, I usually add an 'Add' button near de Combo wich opens a form that automatically does an Append Blank with a Confirm button (that does a =TableUpdate) and a Cancel button (that does a =TableRevert).
>>>Don't forget to return a value from the form (.T./.F.) to check if you have to do a requery or a RowSource=RowSource in the Combo.
>>>
>>>HTH.
>>
>>I am using an array and not a table.. how would that work?
>
>I just went through all this a couple of hours ago. Not sure if I understand all I know about what I did, but I got it to work.
>
>In the combobox (not a drop-down list), when you enter something that is not contained in the list, the value is empty. I did something like this:
>
>if empty(this.value)
>
> this.additem(this.displayvalue)
> this.value=this.displayvalue
> ...update the array...
>
>endif
>
>I set the SORTED property to .T. and the new item showed up in the proper place.
>
>HTH
>
>Bill
thanks Bill.. I will try that..rob