Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00401920
Message ID:
00401933
Views:
15
>If i wanted to use replace to replace records 869,042 through 964,918 (through the end) with its current value (numeric field, one decimal) times .1, how could i do that?
>

REPLACE blah with blah/10 FOR BETWEEN(RECNO(),869042,964918)

Faster would be:

SET ORDER TO 0
GOTO 869042
REPLACE blah with blah/10 WHILE RECNO() <= 964918
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform