Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace target_field with source_field
Message
From
20/03/2000 12:13:21
 
 
To
20/03/2000 11:56:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00347892
Message ID:
00347945
Views:
23
>>replace customer.name with ... in customer
>
>If I can had a nickle for every trick I learn from UT, I'd be a millionair, or, at least I wouldn't have to work anymore. :)
>
>thanks.


Now that they've told you how to make it work, I'll tell you why it sometimes doesn't work (without the IN clause). If the current table is not positioned on a record, (ie: sitting at EOF()), the replace will not take place even if both tables involved in the replace are at the correct position. So if your current table was at EOF(), no REPLACE would work.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform