Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create table based on variable name
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Create table based on variable name
Miscellaneous
Thread ID:
00367288
Message ID:
00367288
Views:
60
Is there a way to create a table using variable name. For example if I generate a random number using rand(), and put that number in variable, how can I use that variable name to create a table. Also, how can I use that variable name to attach to controlsource in grid.

ranvar = rand()

create table ranvar ....

grid1.column1.controlsource = ranvar.cto

I am having a problem creating a table based on value in variable ranvar and also attaching this value (which contains table name) to grid controlsource. Help appreciated

thanks
Nick Patel
Next
Reply
Map
View

Click here to load this message in the networking platform