Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Thanked 0 Times in 0 Posts

    Count Unique (2000)

    In a query, is there anyway to count unique? I have a totals query where I have a field called Clients. Due to other fields there are duplicate clients. I want to do a count on only the unique clients.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Thanked 28 Times in 28 Posts

    Re: Count Unique (2000)

    One way to do this is to create two queries:
    - Create a totals query based on your query, and add only the Clients field (Group By)
    - Create a totals query based on the above query, add the single field, set the Total option to Count.

    Or use MarkD's CountUniqueRecords function from <post#=205252>post 205252</post#>.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts