Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set relationship and copy
Message
From
14/12/2006 16:08:36
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01177790
Message ID:
01177793
Views:
10
>Hi,
>I have two tables, table1 has the following structure
>Table1: dog, howtall, howfast, furtype
>Table2: cats, howtall, hasclaws, food
>
>I have set the relationship between the two, using the field howtall
>
>Now here is my problem, after having set the relationship, I want to copy
>the table to a new table
>
>copy to newtable a->dog, a->howtall, b->cats, b->howtall
>
>But I get an error. How can I copy selected fields from two tables?
>
>Thanks
>Steve

Select a.dog,a.howtall,b.cats from tablea a inner join tableb b on a.howtall=b.howtall into table newtable
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform