Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming tables at runtime
Message
From
17/12/2003 07:19:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Naming tables at runtime
Miscellaneous
Thread ID:
00859829
Message ID:
00859829
Views:
61
(Apologies in advance if this is a dumb post, I'm a totally new VFP programmer struggling to find resources for beginners!)

Is there a way to dynamically assign names to tables at runtime? I want to do something like:

SELECT someValue FROM someTable TO someVariable
CREATE TABLE someVariable (fields go here etc)

without ending up with a table called 'someVariable', so e.g. if the value of someVariable is 351145 the table is called '351145'. So far I just end up with a table called 'someVariable'.



I'd appreciate any advice, thanks in advance,

Paul
Next
Reply
Map
View

Click here to load this message in the networking platform