Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verify if a field already exists in a table
Message
 
 
À
06/07/2007 12:27:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01238247
Message ID:
01238249
Vues:
35
>Hi everyone..
>
>How can I verify if a field already exists in a table?...
>Need to create it if doens´t....
>
>Thanks in advance
>Carlos Burgos

You may want to check AFIELDS() function and ASCAN or you can simply put your ALTER TABLE command in try/catch block (but in this case you would need to open table exclusively).
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform