Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find field number given it's name
Message
De
24/10/2007 22:10:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Find field number given it's name
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01263411
Message ID:
01263411
Vues:
54
Hello. I was trying to locate the field number in a dbf, so I was using:

=AFIELDS(x)
iTexto= (ASCAN(x,"FIELD_NAME")-1)/18

but it seems that ascan returns the fields in a different order than they are in the DBF definition.

Does anyone know how to get the correct field number?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform