Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need a copy of a table + 1 column
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00807177
Message ID:
00807183
Views:
18
This message has been marked as a message which has helped to the initial question of the thread.
Than second part could be
SELECT *, PADR(m.lettername,50) as lettername ;
	FROM property ;
	WHERE  key = m.key ;
	INTO CURSOR crsTemp NOFILTER
SELECT l_prop1
APPEND FROM ( DBF("crsTemp"))
USE IN ("crsTemp")
In VFP8 it can be done with one command INSERT INTO ... SELECT FROM.

>I need it broken up into two parts. Part one creates the structure with the extra column. Part two inserts the values, without wiping out the existing rows in the table. The two parts are in two different methods. Your SELECT works well, but it deletes all the previous rows.
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform