Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting field presence in dbf
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01244177
Message ID:
01244219
Vues:
20
>I know that, of course.
>
>But type('FieldName')<>'U' would not tell us whether we have a field 'fieldname' in the currently opened alias, if we have a variable with this name.
>
>That's the point I tried to make.
>
>In other words, the above test will only tell us that we may have either a variable or a field name called 'fieldname' while field() will remove ambiguity.

If you expect conflict between a field name and memory variable, always use alias prefix.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform