Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids & CursorAdapter CursorFill()
Message
 
 
To
06/01/2011 22:48:53
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01494587
Message ID:
01495102
Views:
46
>Naomi,
>
>Are you adding a grid in the Init in run-time when the cursor is created? Otherwise I don't understand. The grid must have a RecordSource, what is its RecordSource ?
>
>The grid is already dropped during design time, but with no RecordSource or other details yet. It is in the form's Init where a TempCursor is created from the passed CA object, then programmatically assigned as RecordSource of the grid together with the building of the columns.
>
That may be part of the problem. I always assign grid properties in design time and therefore create a cursor in the Load of the form with known structure.

If you don't know the structure in advance and assign it programmatically, may be the grid still suffers from the reconstruction problem.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform