Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing a grid after SQL select
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01333466
Message ID:
01333538
Vues:
11
>I have a grid on a form that has to be updated. I enter the criteria and create the cursor that is designated its control source.
>
>Every time I do that, the grid blanks out. I have tried to reset the control source for each individual column, but it keeps giving me an error, saying the object "Grid1.Column1" does not exist.
>
>Is there a setting that I'm missing here?

I usually design my grids and then save them as a class. When I instantiate a form, I instantiate the grid in the form's INIT. When I am ready to redo the underlying cursor, I remove the grid, redo the cursor, and instantiate the grid.

Works like a charm.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform