This query is for a race taking place over 3 days.
The query adds up 100% and i can get the total times of athletes.
My only problem i have, is to sort the race times depending on whether a competitor finish the race or not.
If all the athletes are suppose to complete 3 days, and one athlete only manage to finish 2 of the 3, then that person's finish position in the race, should be last .
In the attached screen pic, it can be seen that RaceNo 3 (Ian Adams) did not complete day3time (third day of the race.)His time is therefore actually the worst of the 3 athletes, but now the shortest as he only did 2 days.
Looking at the Totaltime for the 3 athletes, RaceNo=2 (Shawn) has the best totaltime = 01:30(shortest for the 3 days), followed by RaceNo1 =(Michael) in 01.31 and last is RaceNo3 because he failed to do Day3time.
My question: how can i sort RaceNo 2 and 3 in ascending order, and if you have a "blank time" for an athlete, then that name appear last in the query?
I also include the actual query problem
pls help
The query adds up 100% and i can get the total times of athletes.
My only problem i have, is to sort the race times depending on whether a competitor finish the race or not.
If all the athletes are suppose to complete 3 days, and one athlete only manage to finish 2 of the 3, then that person's finish position in the race, should be last .
In the attached screen pic, it can be seen that RaceNo 3 (Ian Adams) did not complete day3time (third day of the race.)His time is therefore actually the worst of the 3 athletes, but now the shortest as he only did 2 days.
Looking at the Totaltime for the 3 athletes, RaceNo=2 (Shawn) has the best totaltime = 01:30(shortest for the 3 days), followed by RaceNo1 =(Michael) in 01.31 and last is RaceNo3 because he failed to do Day3time.
My question: how can i sort RaceNo 2 and 3 in ascending order, and if you have a "blank time" for an athlete, then that name appear last in the query?
I also include the actual query problem
pls help
Comment