>>>>>I have a combobox bound to a buffered local view. The combobox.click calls a form method to update a business object and some fields from the same view as the combobox's view. In the business object is a call to the same field that the combobox is bound to.
>>>>>
>>>>>The combobox doesn't appear to be updating it's controlsource at all. DEBUGOUT statements in the click() before and after DODEFAULT() and the call to my procedure all show the same OLD value in the combobox.value and view.field.
>>>>>
>>>>>Can someone help me get this thing updating properly?
>>>>>
>>>>>Chris.
>>>>
>>>>Chris,
>>>>Couldn't understand well.
>>>>this.Value = this.Value
>>>>might help.
>>>
>>>I need code outside the combo to see the new value in the controlsource. Which David says doesn't update until the Valid.
>>
>>If you're outside of combo valid already fired, no ?
>>Have you tried :
>>
>>with .Combo
>> .Value = .Value
>>endwith
Cetin
>
>I was still in the combo.click, calling a bizobj function that relied on the combobox.controlsource having the new value. Since valid() hadn't fired, it still had the old value. It's now working as I want it.
Yes I know you were. What I was trying to say before reaching the valid you could force it to have the new value with (.Value=.Value).
Cetin