I have a query that has some duplicate records in it (duplicate PO numbers). I have some invoices that have two or more checks cut against these duplicate POs.
What I want to do is to total the amount of the invoices against the PO, sum them together and place the total in a field (new or old, doesn't matter), and then delete the duplicate PO numbers.
Example of data:
PONum InvAmt
0001 10.00
0002 25.00
0002 45.00
0003 50.00
What I want is:
0001 10.00
0002 70.00
0003 50.00
Any suggestions?
Thanks,
Mike
What I want to do is to total the amount of the invoices against the PO, sum them together and place the total in a field (new or old, doesn't matter), and then delete the duplicate PO numbers.
Example of data:
PONum InvAmt
0001 10.00
0002 25.00
0002 45.00
0003 50.00
What I want is:
0001 10.00
0002 70.00
0003 50.00
Any suggestions?
Thanks,
Mike