Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding or renaming fields programmatically
Message
 
À
01/02/2006 09:32:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01092327
Message ID:
01092330
Vues:
19
See ALTER TABLE command in VFP Help.


>Hi all,
>
>I'm adding a routine to my new VFP6 system that will import data from the old FPD2.5 system. But I need to add a few new fields to some of the tables in the new system, and would also like to change the names of others. For example:
>
>Old table:
>Field1
>Field2
>FieldA
>
>I want the new table to be:
>Field1
>Field2
>Field3
>Field4
>
>(renaming FieldA to Field3 and adding new field Field4)
>
>Is there a way to add fields to tables programmatically? How about renaming fields?
>
>Thanks very much!
>
>John
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform