G
Guest
Hello
I can't figure out how to assign a rank number to groups of records in MS Access
Sample Data
PersonID EventID TimeTake
001 001
001 002
002 001
002 002
001 003
003 003
003 001
Where ID1 and ID2 are composite primary keys. I need a query to rank each person by group of events and then assign a number to their rank temporarily to use in other queries
The result for this query would be
PersonID EventID TimeTaken Ran
001 001 5
001 002 6
002 001 6
002 002 4
001 003 7
003 003 5
003 001 9
This will have about 100 people and events
I will use the rank in other queries
Thanks for your help!
I can't figure out how to assign a rank number to groups of records in MS Access
Sample Data
PersonID EventID TimeTake
001 001
001 002
002 001
002 002
001 003
003 003
003 001
Where ID1 and ID2 are composite primary keys. I need a query to rank each person by group of events and then assign a number to their rank temporarily to use in other queries
The result for this query would be
PersonID EventID TimeTaken Ran
001 001 5
001 002 6
002 001 6
002 002 4
001 003 7
003 003 5
003 001 9
This will have about 100 people and events
I will use the rank in other queries
Thanks for your help!