Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REPLACE in a SCAN..
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00694072
Message ID:
00694091
Vues:
18
>Dear Jim
>
>Thanks for replying I'm your student from Appdev, According to your lessons the following should work...
>
>SELECT *,SPACE(8) as nafseq2 from znaf INTO TABLE datax\znaf2
>
>seq=8950
>SCAN
>   seq=seq+1
>   *replace znaf2.nafseq2 WITH ALLTRIM(znaf2.nafseq) IN znaf2 && Why this command is used at all?
    replace nafseq WITH STR(seq,8) 
>ENDSCAN
See inside.
Or
replace NafSeq with str(recno()+8950,8) all
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform