Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requery ?
Message
De
30/07/2010 14:42:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01474625
Message ID:
01474647
Vues:
46
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform