Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why CursorFill() is faster than CursorRefresh() in a CA?
Message
De
02/12/2010 13:28:41
 
 
À
02/12/2010 13:20:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 7
Divers
Thread ID:
01491162
Message ID:
01491610
Vues:
49
>Fabio,
>
>CursorRefresh does not create a copy,
>it do a ZAP ("CA: Alias") and fills it

>
>You are right there. However, if you change SelectCmd, like change or add the ORDER or WHERE clause, CursorRefresh() will still 'respect' the existing SelectCmd and not the new one. If something is changed in SelectCmd, one has to do a CursorFill(), therefore a new cursor will have been created. This will blank the grid.
>
>Dennis

I known.

The VFP design to ignore a change of the SelectCmd in the BeforeCursorRefresh,
leave as the only possibility the use of parameters in SelectCMD.
This is very annoying in some cases.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform