Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming tables at runtime
Message
De
17/12/2003 07:19:41
Paul Williams
Powerful Wonders
Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Naming tables at runtime
Divers
Thread ID:
00859829
Message ID:
00859829
Vues:
64
(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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform