I have a database where one record voids another record by placing a negative amount in the amount field (so basically a refund was given for that transaction). I don't want to include these two transactions in a transaction count ( i realize sum of the field will zero out - I need a count of good transactions).
So when comparing to records - if all fields are equal (bar - ID, Date and Amount - one field value is the negative of the other) I want to ignore these two records in my query.
Sorry I realize this database is NOT normalized but it's how I get the data monthly... Thank you.