Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debug-not a numeric expression
Message
 
To
08/03/2000 18:20:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00343471
Message ID:
00343640
Views:
19
Joao,

Your code wouldn't work anyway. You were doing a replace on the first record as many times as there were records. Instead use the scan/endscan loop for this;
SELECT TheView
lnCounter = 1
SCAN
   REPLACE ...
   lnCoutner = lnCoutner + 1
ENDSCAN
You have no need to get the record count here because scan will loop through all of the records.
Previous
Reply
Map
View

Click here to load this message in the networking platform