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 00:45:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Faster way to fill Array with ADO recordset
Divers
Thread ID:
00715267
Message ID:
00715267
Vues:
49
Hi all,

Is there a faster way to fill a array from an ADO recordset than that,
.oRS1=.oConnect.Procura_Geral(lcTable)
DIMENSION .combobox1.aItems[.oRS1.RecordCount,2]
.oRS1.MoveFirst
FOR lni = 1 TO .oRS1.RecordCount
	.combobox1.aItems[lni,1] = .oRS1.Fields('c_codigo').value
	.combobox1.aItems[lni,2] = .oRS1.Fields('c_descri').value
	.oRS1.MoveNext
NEXT lni
Thank's

João Batista
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform