Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert into
Message
From
09/04/2007 06:23:27
 
 
To
09/04/2007 06:11:39
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01213369
Message ID:
01213371
Views:
10
>I am using vfp 6.0
>insert mytable(companyname) select companyname from test_tables
>
>the above command cannot run. Please help


You cannot run correlated queries like that in such an old version. Maybe the easiest would be to get the data and then append or you could run a loop to insert if you wanted to massage the data beforehand.
select companyname from test_tables into cursor temp
select 0
use mytable
append from temp


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform