General information
Category:
Forms & Form designer
Hi Andrew,
Sorry, ignore my previous reply, i've realised it was incorrect. What exactly are you trying to do? Do you only want the Text Controls to update when you enter the second field?
Gavin...
>Hi Andrew,
>
>You need to refresh the fields after changing their values.
>
>Try:
>
>thisform.text1.value = thisform.grid1.column1.text1.value
>ThisForm.Text1.Refresh()
>thisform.text2.value = thisform.grid1.column2.text1.value
>ThisForm.Text2.Refresh()
>
>Regards,
>Gavin...
>
>>Hi. I’ve got grid with two columns and two text controls in form. I want to put value form grid columns to text controls. I write next code in AfterRowColChange event:
>>
>>thisform.text1.value = thisform.grid1.column1.text1.value
>>thisform.text2.value = thisform.grid1.column2.text1.value
>>
>>But when I moved in first column1, value changed only in first text1 control and when I moved in second column2, value changed only in second text2 control. How I could solve this problem. Thank you for answer. Andrew.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only