Results 1 to 3 of 3
  1. #1
    prichardson is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Posts
    2

    Remove close duplicates from query

    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.

    Click image for larger version. 

Name:	Void Transaction.PNG 
Views:	11 
Size:	11.6 KB 
ID:	11188

    Sorry I realize this database is NOT normalized but it's how I get the data monthly... Thank you.

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    If the items you showed were transaction records, then I would expect a transaction count to show 2 transactions. So it isn't really a transaction count that you want.
    So in 1 or 2 lines what exactly do you want? Forget Access and sums etc and in plain English just tell us what you would like.

    In many systems the incoming data gets formatted/converted into appropriate tables/transactions/streams for processing.

  3. #3
    prichardson is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Posts
    2
    Quote Originally Posted by orange View Post
    If the items you showed were transaction records, then I would expect a transaction count to show 2 transactions. So it isn't really a transaction count that you want.
    So in 1 or 2 lines what exactly do you want? Forget Access and sums etc and in plain English just tell us what you would like.

    In many systems the incoming data gets formatted/converted into appropriate tables/transactions/streams for processing.

    I need to count records. If one record has a duplicate record like my image I don't want to count either of them..

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Query to Sum Values and Remove Duplicates
    By noobaccessuser in forum Queries
    Replies: 1
    Last Post: 12-06-2012, 07:12 PM
  2. remove Left Join duplicates
    By lokiluke in forum Queries
    Replies: 2
    Last Post: 09-16-2011, 04:53 AM
  3. Remove Duplicates Based on Criteria
    By suryaprasad in forum Access
    Replies: 0
    Last Post: 04-07-2011, 10:50 PM
  4. Replies: 2
    Last Post: 08-17-2010, 02:58 PM
  5. How to remove duplicates
    By TonyBender in forum Access
    Replies: 0
    Last Post: 10-21-2009, 10:27 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums