Originally Posted by
rpeare
Create a query based on your deliveries table.
Make it an aggregate query (look for the sigma button, looks like a capital E on your toolbar)
On the TOTALS line of your query you will want
GROUP BY for your PO number and ITEM lines you will want SUM on the number of the item delivered.
This should give you a summarized query of your deliveries.
Save this query with whatever name you want.
Create a new query based on your PO line items
Link those to your summarized query.
Now you can display the total number ordered vs the total delivered and the remainder to be delivered is a simple calculation of ordered vs shipped.