Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic append from question
Message
 
 
To
29/11/2004 07:10:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
FoxPro Windows
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00965365
Message ID:
00965375
Views:
10
You cannot do that with just APPEND FROM.
SELECT colB AS colF, colC as colA ;
  FROM tableX ;
  INTO CURSOR crsTemp
SELECT tableY
APPEND FROM ( DBF("crsTemp") )
>
>I have a table X with 10 rows (a,b,c,d...), I need to copy the fields b and c into a temporal file.
>I also have another table Y. Quite similar, but the columns are in different oreder.
>
>Then, I need to append fields b and c from the temporal file,
> ...BUT: I need to place records from temp's clumn b to column f, and temp's column c to column a.
>
>How can I do that using Append from?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform