User Profile

Collapse

Profile Sidebar

Collapse
swestoyz
swestoyz
Last Activity: Mar 7 '12, 06:29 PM
Joined: Jan 25 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • swestoyz
    replied to Need to break tie in ranking using date
    Holy crow, it worked! The only modification I made was to sort the rank for when the tie was issued by changing the greater than to a less than between the EAD and Rank1.EAD.

    Thanks again Rabbit!
    See more | Go to post

    Leave a comment:


  • swestoyz
    replied to Need to break tie in ranking using date
    Thanks for the replies guys. I was hoping to attempt this without code, so I'll keep ADezii's suggestion in my back pocket.

    Thanks for the tip on the +1 Rabbit!

    I know why this doesn't work, however, I'm not sure how to add a condition to the Where clause to check for a duplicate rank before checking the date:
    Code:
    Rank: (Select Count(*) from q_Ranking_Formula Where [Score] > [Rank1].[Score] and [EAD] > [Rank1].[EAD])+1
    ...
    See more | Go to post
    Last edited by NeoPa; Jan 26 '12, 04:06 AM. Reason: Added mandatory [CODE] tags for you

    Leave a comment:


  • swestoyz
    started a topic Need to break tie in ranking using date

    Need to break tie in ranking using date

    Hello there,

    I am fairly new to custom SQL statements in Access, so I'll do my best to communicate my request.

    I am being tasked with ranking people based on a set score. The tie breaker would be their hire date, oldest date would receive the better rank. Higher the score, better the rank. with the code I found on a Microsoft support page, ID's 13 and 14 would be ranked 2 as a tie, instead I want the oldest date to tie...
    See more | Go to post
No activity results to display
Show More
Working...