Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use varible name add fields to a table?
Message
From
14/10/2002 22:56:06
Michale Chen
Shijiazhuang ZhiYuan Crop.
Shijiazhuang, China
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to use varible name add fields to a table?
Miscellaneous
Thread ID:
00711196
Message ID:
00711196
Views:
37
Hello everyone:
I have a table need to add fields to a exact number? How can I do it? The following code have error ,How to change it?

sele table1
local tt,mm
tt=1
mm=1
for mm= fcount('table1') to 38
alter table table1 add column &tt n(8) *** how to use a varible in here exchange &tt
tt=tt+1
endfor
Next
Reply
Map
View

Click here to load this message in the networking platform