Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UPDATE vs REPLACE
Message
From
26/07/2005 15:52:20
 
 
To
26/07/2005 15:47:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01036002
Message ID:
01036013
Views:
28
REPLACE with a condition (FOR/WHILE) will move the record pointer, do the REPLACE, move again. REPLACE without a condition affects the current record only.

>PMFJI,
> but how can that be true for REPLACE, when you can put the clause FOR myTable.myfield = m.myvariable and put WHERE myTable.myfield = m.myvariable on the UPDATE command, which could potenially (sp?) move either of them.
>
>TIA
>Beth
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