>I'm back to my Visual FoxPro project after a long delai so I'm a bit rusty! My form has a grid and a textbox. When data RecordSourceType of grid is "alias" and ControlSource of textbox is "myfieldname", they are automatically synchronized. How can I filter the content of the grid and still have my textbox synchronized? I tried to change RecordSourceType of the grid to
1) Cause a movement in the table. If you don't really want to move the record then you can use:
goto recno()
(skip 0 doesn't work for remote tables)
2) ThisTextBoxControlContainer.Refresh
Since the textbox is bound to a value in the table, clicking in the textbox will redisplay it and show the new value, and this is really ugly from a UI perspective. The next easiest thing to do is refresh all of the controls in the container.