Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert into
Message
De
09/04/2007 06:23:27
 
 
À
09/04/2007 06:11:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01213369
Message ID:
01213371
Vues:
12
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform