Hi, I need help in finding 'true' duplicates. I am trying to find duplicate payments in 'Payments' table.
Sample 'VednorNo' and 'Amount' field entries:
A 100
B 50
A -100
A 100
C 40
B 50
Running simple duplicate query from access will report duplicates on amount 100 and 50. But 100 and -100 cancel each other for Vendor A, therefore 100 is not a duplicate payment. However, amount 50 for Vendor B is a correct duplicate payment. Can you please help me write a query to extract the results as mentioned?
Thanks a lot for your help.
Sample 'VednorNo' and 'Amount' field entries:
A 100
B 50
A -100
A 100
C 40
B 50
Running simple duplicate query from access will report duplicates on amount 100 and 50. But 100 and -100 cancel each other for Vendor A, therefore 100 is not a duplicate payment. However, amount 50 for Vendor B is a correct duplicate payment. Can you please help me write a query to extract the results as mentioned?
Thanks a lot for your help.