Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A question on how to link to another table using SELECT?
Message
 
To
18/10/2000 10:16:55
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00430870
Message ID:
00430920
Views:
9
>Hi Stephen....My tables look like this...
>table1
>part_number c(5)
>
>table2
>part_number c(5)
>st c(2)
>state_name c(25)

Robert,

The help file will explain how to combine data from two files with SELECT. Your code would be;
SELECT Table1.Part_number, Table2.St, Table2.State_name ;
  FROM Table1 LEFT JOIN Table2 ON Table1.Part_number = Table2.Part_number ;
 INTO CURSOR MyResult
I have no idea why you said you cannot use a left join as that is what will give the result you are asking for.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform