Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Easy question!
Message
From
26/08/1999 20:48:52
 
 
To
26/08/1999 18:46:27
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00258196
Message ID:
00258232
Views:
11
>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.
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform