Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using variables in SELECT command
Message
From
08/07/1998 13:54:31
 
 
To
07/07/1998 10:10:27
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00114850
Message ID:
00115378
Views:
12
Hi Mandy,
I would bet that there are some spaces in your variables.
BTW, you should avoid using reserved words like SYSTEM as file names or directory names. It might confuse the computer or the human.
Here's another suggestion which might help you track down the problem. Instead of coding a line like \abc&MyVariable, create 1 big variable for the entire expression. In this case, it would be "\abc" plus the contents of MyVariable. Then, if you are still getting error messages, you can check the contents of the big variable prior to executing the SQL SELECT statement.
Does this help?
Regards, Chaim
Previous
Reply
Map
View

Click here to load this message in the networking platform