Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Are cursors always in memory only?
Message
De
14/08/2017 20:12:51
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
14/08/2017 17:40:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01653296
Message ID:
01653299
Vues:
88
>I'm updating ExcelListener.vcx to take advantage of Greg Green's excellent class vfpxWorkbookXlsx.vcx, which creates Excel files with xlsx format.
>
>To optimize speed I want to make sure cursors remain in memory only. I believe this is the default VFP behavior, but am confused by the fact that you can append from a cursor by referring to it as DBF('CursorName') and the fact that that that file actually exists on disk.
>
>I'd appreciate any clarifications. No need for ram disks, right?

Check for file(dbf("CursorName"))... most probably returns .f. on today's machines, with today's amounts of memory.

That you can append from a nonexistent file is just a neat trick performed by Fox team 20+ years ago.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform