Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy fields
Message
 
To
26/11/2004 13:26:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00965005
Message ID:
00965010
Views:
9
RELATE the tables & use a simple REPLACE
SELECT Table1  && That table contains Field4
SET RELATION TO Key INTO Table2 [ADDITIVE]
GO TOP
REPLACE ALL Field1 WITH Table2.Field1,;
            Field2 WITH Table2.Field2,;
            Field3 WITH Table2.Field3
SET RELATION OFF
>hi all,
>
>how i can replace field1,2,3 from mytable1(mytable1 have 3 fields only), to mytable2 field1,2,3 but keep field4 as it is,
>
>somthing as scatter memvar from table1 ,gather memvar to table2.
>
>thanks.
>m.qasem
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform