Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requery a 6.0 Grid
Message
 
 
To
20/03/2000 13:30:57
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00347821
Message ID:
00348108
Views:
32
You don't requery a grid per se. Rather, you requery the underlying cursor. If you just requery the underlying cursor, you don't lose any settings. If you need to change the recordsource to an alias of a different name, setting the recordsource to an empty string, and then setting the recordsource to the cursor name will work. I have done this on many occasions... FWIW, 5.0 and 6.0 grids work no differently in this regard...


>John,
>I understand all of this but the problem I have is after the record source property is changed or even if the record source alias is changed for a grid, properties of that grid are suddenly changed. For example, column widths and font properties are altred leaving you with the task of re-defining them each time the record source is modified. It seems silly to have to re-define grid properties each and everytime the record source is modified. VFP 5.0 did not work this way, and I am not sure why they changed the way the grid operates in 6.0.
>Is there some way to requery a 6.0 grid without having to re-define grid properies?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform