Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REPLACE in a SCAN..
Message
De
27/08/2002 13:16:04
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00694072
Message ID:
00694124
Vues:
16
>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

Simon,
Might it be that there were another table/cursor opened with alias znaf2 ? If that's the case no replacement would occur in this table biut other one where current record is repeatedly updated with replaces.
Also to be sure check if that's a buffering problem.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform