Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about REPLACE command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00642783
Message ID:
00642803
Vues:
11
I prefer to do this way
REPLACE FIELD1 WITH VALUE1, ;
       FIELD2 WITH VALUE2, ;
       FIELD3 WITH VALUE3
It's easier to add/remove fields later.

>Hi everybody,
>
>When adding or modifying a row in a table, we do the following :
>
>RLOCK()
>REPLACE FIELD1 WITH VALUE1
>REPLACE FIELD2 WITH VALUE2
>REPLACE FIELD3 WITH VALUE3
>...
>UNLOCK
>
>Would it be better (and why would it be) to do :
>
>REPLACE FIELD1 WITH VALUE, FIELD2 WITH VALUE2, FIELD3 WITH VALUE3, ...
>
>
>Thanks in advance...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform