Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement