Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids & CursorAdapter CursorFill()
Message
De
04/01/2011 16:48:30
 
 
À
04/01/2011 16:38:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01494587
Message ID:
01494687
Vues:
66
>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

Unless you select a huge number of records, the "safe select" procedure is normally fastest. And also important is that it's easy to implement and it won't make any "noise" on your screen. Just remember to add thisform.lockscreen =.T. first and thisform.lockscreen =.F. just before yourgrid.refresh().
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform