Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why REPLACE ALL does not replace all?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00514275
Message ID:
00514287
Views:
11
>Hi all.
>I have a line of code as follows:
>REPLACE category WITH nvaCat ALL FOR SPLIT=.T. AND category=varCat
>I have used also:
>REPLACE ALL category WITH nvaCat FOR SPLIT=.T. AND category=varCat
>
>Either one always leaves the last record unchanged.
>Any reason???
>TIA
>Ulises

Suggestion :

The last record it changed too, but you don't see it;
You may run this on the table in the mode that changes are applied when the record-pointer moves, which obviously can't be the case at the last record.
However, you should be able to see it on the PC and table you run this on.
So, do you look at it on the same PC ?
And do you work with a View or so ?
If the last is no (ie just a normal table) and the first is yes, then maybe nvaCat is in the active index and just that is your problem. Issue a Set Order To ('') and try again.

Hope this helps you on the way,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform