Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids & CursorAdapter CursorFill()
Message
De
07/01/2011 22:44:56
 
 
À
07/01/2011 02:16:27
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:
01495218
Vues:
103
Tore,

Have you tried with a dummy cursor as an intermediate stage? Since VFP usualy will be smart enough to use the same cursor again, the delay may be zero. Something like
myCA.CursorFill()
select * from (myCA.Alias) into cursor curdummy
SELECT Tempcursor    && where Tempcursor is the 'permanent' RecordSource of myGrid
ZAP
APPEND FROM DBF(curdummy)
myGrid.Refresh()
myGrid.SetFocus()


I will try this out. Forgive my ignorance though, but what is the wisdom or logic behind having to do an intermediate cursor?

Dennis
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform