Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AScan on a specific column?
Message
De
07/07/2005 10:45:00
Mike Yearwood
Toronto, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00005501
Message ID:
01029941
Vues:
24
How about this... Instead of taking records from a cursor into an array, leave them in the cursor and use SCAN or SEEK?

http://fox.wikis.com/wc.dll?Wiki~SEEKvsASCAN~VFP

>Anybody know if there is API routine that will do the equivalent of ASCAN, but will let you specify a given column to scan and return the row number of the matching cell? The problem with ASCAN is that it scans the entire array. If the information across columns is not unique, ASCAN is pretty useless! Doing the search in a FOR loop to access Row,Col is pretty slow. I'm looking for a fast alternative. Thanks!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform