Results 1 to 3 of 3
  1. #1
    qmrp10 is offline Novice
    Windows 8 Access 2007
    Join Date
    Mar 2014
    Posts
    2

    I want a count of unduplicated clients on a Monthly/Quartelry/Yearly search

    I'm new to Access. It is obviously a very powerful database program I've developed a data base of my agency's service purchases for a variety of clients. I have to generate a report totaling the monthly purchases and counting the number of unduplicated clients. We make multiple purchases for clients monthly. There must be a feature on this program that will sort through the client ID Numbers and count them (rejecting duplicates) in that one month or quarter or year. Can someone tell me how to do that? I've been exporting to excel, sorting by client ID and then counting each new ID number. It is getting tedious, especially when I know that if I just asked someone how to do this, I know someone could walk me through that process. Thanks in advance for any help or light you may be able to shed on my question.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    The general query is as follows. It identifies the unique ClientIDs

    Select DISTINCT ClientID FROM YourTableNameGoesHere

    Readers need more info about your database and tables to offer a more focused answer

  3. #3
    qmrp10 is offline Novice
    Windows 8 Access 2007
    Join Date
    Mar 2014
    Posts
    2
    I included a sample of the data stored in the data file named "Service Purchase". I'm not quite sure where to type the string you listed above. I tried to enter it in the query wizard, but it will not accept that string.
    Service ID Service Code Service Start Entry Date Service End Service Cost Client ID Provider ID
    255 1800 01-Nov-13 14-Mar-14 01-Nov-13 $46.20 10 21
    292 1835 01-Dec-13 14-Mar-14 31-Dec-13 $1,571.70 16 3
    307 1620 01-Jan-14 14-Mar-14 31-Jan-14 $866.25 10 8
    291 6077 01-Jan-14 14-Mar-14 31-Jan-14 $6,541.00 15 2
    314 4620 01-Jan-14 14-Mar-14 31-Jan-14 $616.25 16 8
    305 4834 01-Jan-14 14-Mar-14 31-Jan-14 $8,573.98 18 1
    298 1860 01-Jan-14 14-Mar-14 21-Jan-14 $3,906.00 19 25
    315 4620 01-Jan-14 14-Mar-14 31-Jan-14 $977.50 30 8

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

Similar Threads

  1. Replies: 9
    Last Post: 02-12-2013, 03:14 PM
  2. Replies: 6
    Last Post: 11-10-2012, 09:49 PM
  3. Yearly Summary
    By GordonCopestake in forum Queries
    Replies: 2
    Last Post: 05-05-2011, 01:29 AM
  4. Sum By Clients
    By BorisGomel in forum Programming
    Replies: 2
    Last Post: 05-02-2011, 09:26 AM
  5. Yearly Discount Price By 20%
    By vdanelia in forum Forms
    Replies: 1
    Last Post: 02-04-2011, 10:27 AM

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