Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming tables at runtime
Message
From
17/12/2003 17:17:24
 
 
To
17/12/2003 16:21:26
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00859829
Message ID:
00860151
Views:
20
> CREATE TABLE &someVariable (fields go here etc)

Actually, the code is more robust if you use a name expression instead of macro substitution (in case the name contains blanks, for example):
create table (m.someVariable) free ( ... )
I'd also recommend adding the FREE as a precaution in case there is an open DBC that is current, unless you actually intend to create the table as part of a DBC.
Previous
Reply
Map
View

Click here to load this message in the networking platform