Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retriving all the moving and dead items
Message
From
24/10/2005 03:52:28
 
 
To
24/10/2005 03:16:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01061540
Message ID:
01061541
Views:
12
>Dear Experts,
>
>I have header table and detailed table, i want to retrive all the data from header table
>+ and the data from datailed table in which heder id = detailed id.
>
>A-> Header table
>B-> Detailed table
>
>select A.code, A.Desc, B.Cost, B.Qty from A
LEFT join B on A.Code = B.Code AND B.Voucher LIKE 'ABC%'
>
>this is retriving all the datas which are commen in both tables,
>but i want retrive all the data same as above + some items are in header table
>which are not participate in transactions(These items are can not find in detailed file).
>
>Or, for Exmaple
>
>Header Table -> 10 rows
>Deatled Table -> 6 rows
>
>Resulted table should contain 16 rows with contions as above
>
>How will do it, pls help
>
>Thanks in advance
>
>Regards
>Abdulla
Previous
Reply
Map
View

Click here to load this message in the networking platform