Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Re-binding RecordSource to grid, and ControlSources to C
Message
From
25/03/2004 10:03:37
 
 
To
24/03/2004 20:51:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00889474
Message ID:
00889594
Views:
15
Hi Donald.

I have a VFP 8.0 form with a Grid on it that derives it's data from a dynamic Cursor, that is re-created based on value from ComboBox selection, that is used in SQL query.

It would probably be a lot simpler to create a parameterized view to use as the grid's RecordSource. Then all you need to do is add code to the combo's Valid() method to requery() the grid's recordSource based on the value of the combo box.
Previous
Reply
Map
View

Click here to load this message in the networking platform