Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange replace command behaviour
Message
From
21/04/2003 10:24:17
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00779680
Message ID:
00779785
Views:
11
>>II've read your dialogue with JosP.
>>
>>You should at least check that LOCATE has indeed found a record.
>>
>>From the VFP8 Help on REPLACE:
>>The default scope for REPLACE is the current record (NEXT 1).
>
>It's only correct if there's no FOR/WHILE clauses in the commnad. With FOR clause presented, default scope is ALL and with WHILE it's REST.

Well that's what I had thought UNTIL I read the Help.

The Help for "REPLACE command" should be updated to reflect these special cases in their respective "Parameters" discussions.
Previous
Reply
Map
View

Click here to load this message in the networking platform