Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro Expansion, and Name Expressions
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00243690
Message ID:
00243771
Views:
23
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform