Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select problem
Message
From
04/04/2006 09:12:16
 
 
To
04/04/2006 08:57:55
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
01110231
Message ID:
01110235
Views:
16
>i have two table
>
>(table invoice) = inv_no,trans_no,client_code,client_name
>
>and
>
>(table item_invoice) = inv_no,trans_no,item_hscode
>
>so i want to retrieve all the client name that have the item_hscode 8899009900
>
>so how can i do that



Something like this:
select aa.inv_no,aa.trans_no,aa.client_code,aa.client_name ;
from invoice aa ;
join item_invoice bb ;
on aa.inv_no = bb.inv_no ;
where bb.item_hscode = 8899009900 ;
into cursor MyResults


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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform