Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UPDATE vs REPLACE
Message
De
26/07/2005 16:08:10
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
26/07/2005 15:15:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01036002
Message ID:
01036016
Vues:
36
It is if the form it's used in does not have good record handling and you need the pointer to stay where it is.

>Yes, UPDATE will move the record pointer. To use REPLACE, the record pointer already has to be at the proper record. IMO, it's not a big deal.
>
>
>>Is it true that UPDATE moves the record pointer and REPLACE does not?
>>
>>
>>UPDATE MyTable SET MyTable.MyField = SomeValue
>>REPLACE MyTable.MyField WITH SomeValue IN MyTable
>>
>>
>>It seems that way to me, but my tests have been somewhat inconclusive in the data environment I have to work in right now.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform