Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids losing their properties
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01553237
Message ID:
01553238
Views:
56
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform