Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro Expansion, and Name Expressions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00243690
Message ID:
00243771
Vues:
25
Larry,

First the real answer to your question. Use a cursor and not a table. Cursor's are local to the machine that creates them. They are erased by VFP when the cursor is closed. You can use meaningful names for them as their name is the alias not the file name (they are guanrateed to have unique file names).

Now your other question. Named expressions work where VFP is expecting the name of something like a filed or a table. Marcos work everywhere. This code would work for you;
SELECT * FROM Customer INTO TABLE (lcTable)
?&lcTable..Name
Note the two dots after the macroed alias name. The first dot ends the macro and the second is part of the expression.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform