Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with 'replace' statement
Message
De
29/05/1999 15:09:53
 
 
À
28/05/1999 08:32:04
Jolene Dicks
Human Resources Development Canada
St. John's, Terre-Neuve, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00223884
Message ID:
00224384
Vues:
23
>Thanks. That worked. I had a series of locates in the loop, and then the replace statement. If the last locate failed (which it would in some cases) it was at the end of file when it replaced. Thanks.
>
>Jolene Dicks

Jolene- you can always overcome this by using the IN clause at the end of you REPLACE statements.

REPLACE MyTable.MyField WITH "Howdy" IN MyTable

This makes the statement impervious to the EOF anomoly.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform