Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know if a field exists within a table ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00367896
Message ID:
00367909
Vues:
18
You can use the following code
FUNCTION IsField(tcField, tuArea)
    RETURN FSIZE(tcField, tuArea) > 0
ENDFUNC
NOTE: the above function assumes SET COMPATIBLE is off.


>Type() doesn't seem to work for a table field.
>
>Is there any other way?
>
>Thanks
>Eric
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform