Results 1 to 3 of 3
  1. #1
    Wena is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2012
    Posts
    2

    Beginner- how to count field per another field

    Hi
    I am trying to assist my son with his homework and I am battling a bit.
    We have a table with (amongts others) owner and brand.
    each owner has multiple brands in the table.

    How do I count the the brands per owner.
    When I use count(brands) with out owner I get the total amount of brands but I can not get the total amont of brands per owner.



    Thanks

    Alistair
    Last edited by Wena; 06-02-2012 at 07:31 AM. Reason: CLOSED

  2. #2
    Wena is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2012
    Posts
    2
    It must be in a query format.
    select Owner, count(brand)
    from tblMyTable

  3. #3
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    Look at aggregate queries.

    http://www.techonthenet.com/access/queries/index.php

    Scroll down in this link to group by queries.

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

Similar Threads

  1. Totals feature can't count Sum on this field
    By yohansetiawan in forum Forms
    Replies: 1
    Last Post: 03-20-2012, 02:29 AM
  2. Count Field Values.
    By Cined in forum Access
    Replies: 3
    Last Post: 03-03-2011, 03:21 AM
  3. Count of field where field =
    By macking in forum Access
    Replies: 1
    Last Post: 02-23-2011, 12:43 PM
  4. How to track/count the occurence of a particular field
    By jessica.ann.meade in forum Reports
    Replies: 4
    Last Post: 02-09-2011, 01:41 PM
  5. How to count charcter or text in field
    By nshaikh in forum Queries
    Replies: 3
    Last Post: 09-12-2008, 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