Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids & CursorAdapter CursorFill()
Message
From
04/01/2011 16:47:03
 
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:
01494686
Views:
62
Naomi,

Will get right down to it and see which one is better. Thanks as always!

Dennis


>>Naomi,
>>
>>None of them. Read Andy's article
>>Using Safe Select approach to preserve the grid

>>
>>Ok, so the way to go is to create a dummy cursor just for the grid. Now, what I am thinking right now is this- why not just do the gird reconstruction? On a performance basis, which way is faster you think? Going for a dummy cursor that zaps and appends everytime, or just have the grid class reconstruct after every data requery?
>>
>>Thanks
>>Dennis
>
>If you don't return too many rows (say, less than 500) then I think both methods will provide the same performance (and I used that method mostly). Otherwise probably grid re-construction will be quicker.
Previous
Reply
Map
View

Click here to load this message in the networking platform