Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor in a grid
Message
From
07/03/2007 10:26:16
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01201093
Message ID:
01201505
Views:
29
1. The initial dummy select - doesn't that belong in a different method? Otherwise it would be getting created again, anyway, every time you call the method to refresh the grid with the newly selected data?

The initial select is not a dummy select. You need to SELECT ... INTO CURSOR READWRITE NOFILTER in the load of your form so you can bind the grid

2. You talk about the extra code necessary (presumably to "shape" the grid.) but where does the grid formatting, and field-to-grid column allocation happen, if you don't select the data in the order in which it should appear on the grid.

ZAPping the grid's recordSOurce foes not close it. So if you use the "safe select" method described in Andy's blog, the grid does not lose any formatting.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform