Results 1 to 2 of 2
  1. #1
    Jamaluddin is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Dec 2011
    Posts
    16

    Ranking of Students based on Obtained Marks.

    I have a table for storing Examination Records of Students. Table have many other fields but the target fields are the Total Obtained Marks (ObtMarks) and the Rank. I need to find the Rank of Students based on their Obtained Marks in Exam. The Query is sorted in descending order so that the highest result comes at top. If we use the simple Serial Number method for finding the Rank, its ONLY OK when all students got unique marks. But the situation is that some, i.e., 2 or more students may got same marks. The attached picture is a sample report which I need to get from the Exam Table.



    How to get this report / query using MS Access. I am using Access 2003.

    Thanks.
    Attached Thumbnails Attached Thumbnails RankReport.JPG  

  2. #2
    Jamaluddin is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Dec 2011
    Posts
    16
    I found the following sample query using Google search:

    Rank: DCount("*","tblExam"," ObtMrks >" & [ObtMrks])+1

    It works as I need, BUT their is a problem that When this query assign same rank to 2 or more students, like Rank 6,6, the next Rank which the query generate is 8 instead of 7.

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

Similar Threads

  1. Ranking (Look for previous ranking)
    By leobear in forum Queries
    Replies: 3
    Last Post: 01-10-2012, 05:58 PM
  2. Concatenate Quotation Marks
    By millerdav99 in forum Programming
    Replies: 3
    Last Post: 04-11-2011, 09:36 AM
  3. Replies: 0
    Last Post: 02-17-2011, 02:08 PM
  4. Transferring text within quotation marks
    By Lynette in forum Access
    Replies: 6
    Last Post: 11-24-2010, 11:58 AM
  5. Replies: 1
    Last Post: 10-23-2006, 03:45 PM

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