Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why REPLACE ALL does not replace all?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00514275
Message ID:
00514287
Vues:
12
>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,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform