Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do i get next one?
Message
From
30/01/2001 18:21:26
 
 
To
30/01/2001 18:15:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00470400
Message ID:
00470404
Views:
28
You need the SCAN command to do what you want:
select usag_iden;
    from usagers4;
    where !deleted() and ;
        left(usag_iden,3) = tcProj_code and ;
        Grou_code = tcGrou_code ;
    into cursor NextMembre
...
SCAN
    letMemb=substr(usag_iden,5)
    ...
ENDSCAN
HTH
>I'm using a select statement...
> into cursor MyCursor
>i want to do a for loop on the values , but i always get the same value...
>there is sample of that code
>select usag_iden ;
> from usagers4 ;
> where !deleted() and ;
> left(usag_iden,3) = tcProj_code and ;
> Grou_code = tcGrou_code ;
> into cursor NextMembre
>....
> for i = 1 to _tally
> letMemb=substr(usag_iden,5)
>....
>The (usag_iden) always gives me the same value...
>How do i get next one?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform