Results 1 to 6 of 6
  1. #1
    rokl is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2015
    Posts
    2

    Post counting data

    Hello, i'm using access for sport competitions and I have a problem

    I have data in tabele and in querie in colums like this so now I would like to calculate places for each category. The maximum points get place 1, second max place 2, third max place 3 and so on.


    This is just an exemple.
    Click image for larger version. 

Name:	Capture.JPG 
Views:	12 
Size:	29.3 KB 
ID:	19842
    THANKS FOR HELP!!!

  2. #2
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    If you sort the query on Points Descending, the data will display in the proper order.

  3. #3
    rokl is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2015
    Posts
    2
    Quote Originally Posted by John_G View Post
    If you sort the query on Points Descending, the data will display in the proper order.
    Thanks for answering.
    I need it for every category it's own sorting. And on that sorting I would like to get places automatically. The picture is just an exemple.

  4. #4
    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,870
    Perhaps you could give readers an overview description in plain English of the big picture of what your database is about. It is better if we have all of the pieces in context when trying to offer suggestions.

  5. #5
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Apply sorting in two fields - Sort by Category Ascending, and by Points Descending.

    Actually putting in the place numbers can be done, but it's not particularly easy and I've never done it, so I'll leave that to the other experts to show you.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    The place numbering could be done with RunningSum property of textbox on Report. Calculating this ranking in query or form is more complicated.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Counting in
    By tngirl in forum Reports
    Replies: 7
    Last Post: 05-24-2013, 11:15 AM
  2. Select Query is double counting data
    By becka11 in forum Queries
    Replies: 10
    Last Post: 04-10-2013, 03:45 PM
  3. Counting
    By GeirA in forum Queries
    Replies: 7
    Last Post: 02-29-2012, 02:58 PM
  4. Counting Data
    By kwooten in forum Queries
    Replies: 5
    Last Post: 08-31-2011, 06:19 AM
  5. Summing/Counting data in rows
    By jgelpi16 in forum Access
    Replies: 6
    Last Post: 01-20-2011, 07:24 AM

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