Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding or renaming fields programmatically
Message
 
 
To
01/02/2006 09:32:59
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01092327
Message ID:
01092328
Views:
15
This message has been marked as the solution to the initial question of the thread.
See ALTER TABLE - SQL Command in the help.

>
>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?
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform