Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming tables at runtime
Message
De
17/12/2003 17:17:24
 
 
À
17/12/2003 16:21:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00859829
Message ID:
00860151
Vues:
19
> 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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform