Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to replace
Message
De
30/03/2000 12:46:40
 
 
À
30/03/2000 12:28:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00352784
Message ID:
00352814
Vues:
8
>Hi Deamon
>
>You should put ALL after REPLACE:
>
>REPLACE table2.field1 WITH table1.field1, ;
> table2.field2 WITH table1.field2, ;
> table2.field3 WITH table1.field3 ALL;
> FOR table1.field5 = table2.field5 AND ;
> table1.field6 = table2.field6
>
>Cause by default, REPLACE only change the next one!
>
>Hope this help! :)

As Nadya points out this in not the case. In fact, for every FoxPro command where applicable, the conditional ('FOR') makes the default scope ALL. So REPLACE ... FOR ... is the same as REPLACE ALL ... FOR ...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform