Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requerying Grids
Message
From
05/03/1999 09:53:45
 
 
To
05/03/1999 09:18:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00194339
Message ID:
00194457
Views:
23
How elaborate are the workarounds? Will what Bruce suggested work?

Thanks,
Bonnie


>>I can't seem to find a Requery method for grids, but it almost seems that I need to have such a method. I've got a grid based on two related tables, one of which is created in a form-scoped method with a SQL SELECT. When the screen is first activated, all is fine. But as soon as I call the method that re-creates the one table, the grid disappears ... it's obvious why this happens (because the table is deleted and then recreated) but now I need to know what to do about it. Any ideas anyone?
>
>When grid.recordsource disappears and reappears again VFP thinks that this is brand new thing, recreates grid from scratch and waits for you to give it again all properties: recordsource, column.controlsources etc. This is one of the craziest features that requires elaborated workarounds.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform