General information
Category:
Coding, syntax & commands
Title:
How to use varible name add fields to a table?
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only