Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Faster way to fill Array with ADO recordset
Message
De
25/10/2002 01:16:03
 
 
À
25/10/2002 00:45:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00715267
Message ID:
00715277
Vues:
17
oops... another one... instead of:
FOR lni = 1 TO .oRS1.RecordCount
try
local lnRecordCount
lnRecordCount = .oRS1.RecordCount

FOR lni = 1 TO lnRecordCount
Doing like this, instead of reading the RecordCount property in every single iteration of the loop (what has the COM overhead), you just read it once, and then just read a memvar in the iteration. That might help.
Claudio Lassala
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform