Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why CursorFill() is faster than CursorRefresh() in a CA?
Message
De
03/12/2010 21:17:43
 
 
À
03/12/2010 06:19:33
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:
01491721
Vues:
47
Fabio,

"Beserk" in what sense?
a change in the SELECT ORDER not expected to affect the grid.


That is what I also thought. Any change I make into ANY of the segments in SELECT, ORDER, WHERE will result in my grid going beserk.

A little googling made me find this (which works like a charm):
* previous to this, create a temp cursor with the same structure as the CA cursors in INIT of form and build up your grid

ThisForm.myGrid.RecordSource = "myTempCursor"

myCursor.CursorFill()

ThisForm.myGrid.RecordSource = "myCursor"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform