Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CAN I DO THIS...????
Message
 
To
25/08/1998 13:03:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00129765
Message ID:
00129789
Views:
19
Changing your code to:
for x=1 to 3
    sele x
    do some stuff
endfor
Should work, though it's probably not the best solution. If you're running a process against all open tables, you may want to take a look at the aused function. Perhaps if your told us what you're trying to accomplish we could give you more specific advice.

>I have the following code
>
>sele 1
>table 1
>sele 2
>table 3
>etc,...
>
>for x=1 to 3
>sele alltrim(str(x))
>do some stuff
>endfor
>
>when I execute this program it gives me
>some errors --- alias 1 does not exist
>
>but, Is this the correct way of coding it
>
>mark oliva
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform