Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids losing their properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01553237
Message ID:
01553238
Vues:
55
I would check the lifespan of the cursor. If the variable that point to it goes out of scope the cursor closes and is destroyed. Re-creating a cursor even with the same name will point to another (physical file). Whether the grid raises an error assuming what I imagine here I'm not sure.




>I have a new grid that seems to forget the rowsource property for its columns. The grid uses a cursor created in the form’s load method. The grid itself can remember the rowsource property, but after I save and resume the session the grid has lost all the rowsource properties for each column.
>
>I use the safe select method for populating the grid. I only address the grid population in the refresh method of the grid. I never address the rowsource properties programmatically.
>
>Any thoughts?
>
>Thank you in advance,
>
>Gary

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform