Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding or renaming fields programmatically
Message
De
01/02/2006 09:32:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Adding or renaming fields programmatically
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01092327
Message ID:
01092327
Vues:
53
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform