Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requery ?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01474625
Message ID:
01474647
Views:
47
>How do I save only the Grid and not the grid and the form? I saved the Grid, but it also saved the entire form.
>
>>I would save the grid as a class (in designer) and remove it if it exists and then instantiate it after you do a select. That was my standard way to handle a new source for a grid.

Like Naomi, I think removing and adding the grid is overkill unless you're making massive changes in the grid. Just use the safe select approach. Basically, that means you create one cursor as the grid's RecordSource and each time you need to change the data, you run the query into another cursor, then ZAP the original and APPEND FROM the other cursor.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform