Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add column to a table programmatically
Message
From
20/10/2005 00:34:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Add column to a table programmatically
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01060607
Message ID:
01060607
Views:
53
hi, i want to add a column to a table during program run time. the name of the column will be input by user into a text box and be used as the name of the column. so the name is a variable and dynamic depending on what is being keyed in. how can i tell the system that the column name is a variable. i tried the following command but a syntax error message popup:

ALTER TABLE ADD COLUMN varname C(20)

thanks
Next
Reply
Map
View

Click here to load this message in the networking platform