Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPLACE in a SCAN..
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00694072
Message ID:
00694091
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform