Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace target_field with source_field
Message
 
To
20/03/2000 11:22:11
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00347892
Message ID:
00347901
Views:
19
>has anyone else experience SOMETIMES that when
>
>REPLACE TARGET.FIELD1 WITH SOURCE.FIELD1,;
> TARGET.FIELD3 WITH SOURCE.FIELD2,;
> TARGET.FIELD5 WITH SOURCE.FIELD3,;
> etc....
>
>is issued, the data will not save unless the target table is selected before the replace statement is issued?
>
>If so do you know why?
>
>Thanks a bunch.

Andy, add
IN myAlias (TARGET in your case) to your REPLACE

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform