Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UPDATE vs REPLACE
Message
From
26/07/2005 15:15:50
 
 
To
26/07/2005 15:06:22
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01036002
Message ID:
01036005
Views:
29
This message has been marked as a message which has helped to the initial question of the thread.
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.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform