>I'm Stumped... I have a simple form with a combo box that has the control source set to a field. The type is set to 6 for fields. It displays properly, and in the interactivechange I put a thisform.refresh so that selecting from the dropdown refreshes the other form controls with the data from the record that was selected in the combobox.
>
>In interactivechange I have
>If !lcanedit
> thisfrom.refresh
>EndIf
>
>In the form I have the ALT-E key maped to toggle edit mode by setting lcanedit to .t. lcanedit = iif(lcanedit,.f.,.t.) When lcanedit is .t., the other two buttons "add" and "Delete" are made visible and enabled. This all seems to work OK but...
>
>I can't get the data I enter in the combo box to go back into the table. And, when I fool around trying to replace it under the valid or keypress event of the combobox, it gets stuffed in the last record.
>
>Any help would be greatly appreciated. Ron Seidl Novice VFP6
Ron,
Would you try :
this.value = this.value
as first line in InteractiveChange.
Cetin