Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPLACE doesn't ....a feature????
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00498797
Message ID:
00498817
Views:
16
>>I got nailed by this obscure feature and I feel very lucky to have discovered
>>the fine print at the bottom of the REPLACE help before spending hours trying
>>to figure out why the replace wasn't happening.
>
>
>Think of it this way. You're past the last record in a table in the current
>area (IE, you're at EOF()). Now, when you try to do a REPLACE in this table,
>what are you replacing? That should give you your answer...

Or more to the point,
USE tableA IN 0
USE tableB IN 0
USE tableC IN 0

SELECT tableA
GO BOTTOM 
STEP

REPLACE tableA.field1 WITH "fred", ;
        tableB.field2 WITH "barney", ;
        tableC.field3 WITH "wilma"
What happens?
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform