João,
Where is the code updating the text field? It should be in the InteractiveChange() method in the combo, and should include a refresh()
thisform.txtZipName.value = MyComboTable.ZipName
thisform.txtZipName.refresh()
where MyComboTable is the data shown in the combo.
Barbara
>Hi,
>
>I'm a bigginer in VFP6 and i have this problem,
>
>I have a combo box, baseb on table and a text box displaing the result, in this case, i have a table with zip codes and it's names, i selected the zip in combo and diplay the name in text box.
>
>Sometines it works ok, but if i selected it several times and save the record, sometimes the result of the texbox is not the same of the zip code, the index is ok because if i close the table and run it again the display textbox is ok.
>I have the thisform.text1.refresh in the interactivechange of the combobox.
>
>is there any problem with the combo....?
>
>Can anyone help-me,
>
>thank's in advance
>
>Joao Batista
>(jbinf@mail.telepac.pt)