Hi the experts,
I import the Excel spreadsheet that appears in the first 5 fields in Access 2000 as PONumber, POItem, PartNumber, POQty and DeliveredQty.
Would you help me with the Update Query (or using
VB code ?) so that when there are duplicate PartNumbers, I would like to sum up the PO Qty and the Delivered Qty for each single non-repeated Part Number.
I have been wasting a lot of time at work facing this problem and I greatly appreciate any help on this matter.
Many many thanks.
1) this is the data with duplicate PartNumbers:
PONumber POitem PartNumber POqty DeliveredQty
4500555746 10 3060-01204 10 8
4500558882 10 3060-01204 16 15
4500668771 20 3060-01204W 2 2
4500581882 10 3060-01204 8 4
4500564377 10 67225180000 1 0
4500664317 10 66824410001 1 0
4500578758 10 3700-02765 8 0
4500578758 20 3700-02765 2 1
2) this data below is the desired output table.
PONumber POitem PartNumber POqty DeliveredQty
4500555746 10 3060-01204 34 27
4500668771 20 3060-01204W 2 2
4500564377 10 67225180000 1 0
4500664317 10 66824410001 1 0
4500578758 10 3700-02765 10 1