Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REPLACE in a SCAN..
Message
De
27/08/2002 12:35:16
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00694072
Message ID:
00694090
Vues:
16
Simon,

If another work area is currently selected besides znaf2 and that work area is at EOF, the replace will not happen.

PF

>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
>replace znaf2.nafseq WITH STR(seq,8) IN znaf2
>ENDSCAN

(On an infant's shirt): Already smarter than Bush
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform