Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do i get next one?
Message
De
30/01/2001 18:21:26
 
 
À
30/01/2001 18:15:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00470400
Message ID:
00470404
Vues:
29
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform