Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why CursorFill() is faster than CursorRefresh() in a CA?
Message
De
01/12/2010 03:32:41
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
01/12/2010 03:29:18
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:
01491329
Vues:
59
>>>>Why CursorFill() is faster than CursorRefresh() in a CA?
>>>>Note that both functions returns the same number of records and uses the same SelectCmd...
>>>
>>>CursorFill()
>>>create the CA.Alias dbf
>>>
>>>CursorRefresh()
>>>1. create a temp dbf
>>>2. copy temp.dbf into the CA.Alias dbf
>>>
>>>the step 2. can require enough time,
>>>and this force the dbf structure to not change
>>
>>Hi Fabio,
>>
>>are your shure?
>>
>>the DBF() is someting like SYS(2015)+'.DBF'
>>I can see DBF(CA.ALIAS) change with every CursorRefresh.
>>I run in this indexing a CA / View after Requery / CursorRefresh
>>
>>Agnes
>
>try to attach the CA.alias to a Grid.

Done
DBF() changes with every cursorrefresh Simple to see on Statusbar

No idea why the grid should make a difference
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform