Results 1 to 2 of 2
  1. #1
    lmp101010 is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2009
    Posts
    10

    count query

    I have the following query:



    SELECT [CSR List 2].[Last Name], [CSR List 2].[First Name], [CSR List 2].[Active CSR]
    FROM [CSR List 2]
    WHERE ([CSR List 2].[Active CSR]="Yes");

    This is working but I would like to add a column which counts the total results. Any help?

  2. #2
    pkstormy's Avatar
    pkstormy is offline Access/SQL Server Expert
    Windows XP Access 2003
    Join Date
    Mar 2010
    Location
    Madison
    Posts
    682
    In the query design, add an expression column to the query (ie. TotalCount: 1), then change the query to a summarization/Total query (ie. click the funny looking E symbol in the upper menu - you'll then see a new "Total" row under each column) and then change the TotalCount: 1 column to SUM (where the other ones will be GROUP BY and your [Active CSR] column will be a WHERE.)

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

Similar Threads

  1. count query
    By lmp101010 in forum Access
    Replies: 6
    Last Post: 08-02-2010, 02:31 PM
  2. Multiple count query
    By aajay05 in forum Queries
    Replies: 2
    Last Post: 03-08-2010, 10:00 AM
  3. Count function on query
    By yousillygoose in forum Queries
    Replies: 1
    Last Post: 02-15-2010, 09:58 PM
  4. Running Count Query
    By monkey2003 in forum Queries
    Replies: 0
    Last Post: 09-21-2009, 12:24 PM
  5. Query using count function
    By wasim_sono in forum Queries
    Replies: 0
    Last Post: 11-28-2007, 03:16 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