Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CAN I DO THIS...????
Message
 
 
To
25/08/1998 13:59:38
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00129765
Message ID:
00129890
Views:
18
>>>for x=1 to 3
>>>sele alltrim(str(x))
>>>do some stuff
>>>endfor

The corrected code is

for x=1 to 3
select (x)
do some stuff
endfor

Here's the explanation:

SELECT X means look for an alias called "X"

SELECT (x) means evaluate the expression x.

Good Luck
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Reply
Map
View

Click here to load this message in the networking platform