Loading
Share Your Source Code or Article
Do you have source code, articles, tutorials, web links, and books to share? You can write your own content here. You can even have your own blog.
Submit now...
Submit now...
Sponsor
Receive Free Updates
Today's popular content
- Payroll System (182)
- A Simple Add, Edit, Delete, and Search using VB and MSAccess (163)
- Hotel Reservation System (VB.NET) (137)
- Library Management Software (128)
- Students Information System (125)
- How to Add/Update/Delete Record using MS Access Database (117)
- Free Hotel Management System Manual (112)
- Hotel Reservation System (104)
- Library System Source Code (98)
- how to unload form and load a new form (92)
- 1 of 204
- ››
Random Post
- Inventory System - MS Access version (32,450)
- Face Detection Concept in C# (6,882)
- What is PHP (2,654)
- Simple jQuery Ajax Contact Form (1,922)
- Pharmacy Automation System (21,270)
- Lowest, Middle and Highest Number Determiner Version 1.0 (1,556)
- Class Scheduling and Time Tabling System - C# (3,742)
- Sample of a Simple Social Networking Site (4,558)
- Student Age Determiner 1.0 (1,577)
- Two Dimensional Array in C++ (3,230)
- 1 of 133
- ››
Hi Kim! Did u already find a solution to ur problem?
If not, u can try this one.
=== this is a query to get the total received during PO, total sold during sales and the remaining qty - the link for the two tables is the "ITEM" ===
SELECT a.item_code, sum(a.receive_qty) as total_quantity, sum(b.sold_qty) as total_sold, (sum(a.receive_qty) - sum(a.sold_qty)) as remaining_qty
FROM TBLPO a left join TBLSTOCKS b ON a.item_code = b.item_code
GROUP BY a.item_code
=== don't be confuse on "item_code, receive_qty and sold_qty", I juz made it up hoping that was the fieldname on ur tables.
If you have question/clarrifications, you can send me a mcgs.
Hope this help!