Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A question on how to link to another table using SELECT?
Message
From
18/10/2000 10:45:13
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00430870
Message ID:
00430926
Views:
11
>>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.
Jim,
Also, please keep in mind that I inherent these problems, I do not
create them....:).
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform