hope I describe this right...
In the query: qry2Somes
Field: TeamNumber
Field: OorU
Example:
Team --- OorU
Team 1 = -2 for a ranking of 1
Team 5 = -1 for a ranking of 2
Team 3 = 0 for a ranking of 3
Team 7 = 1 for a ranking of 4
Team 2 = 3 for a ranking of 5
Team 6 = 5 for a ranking of 6
Team 4 = 6 for a ranking of either 7 or 8
Team 8 = 6 for a ranking of either 7 or 8 (depends on rank given to team 4)
What I need to do is add a field that will "rank" them so that I can correctly "group" in a report. For example, in the above, team 1 = 1, team 5 = 2, team 3 = 3 and so on to team 8 = 8. I am not concerned with ties, as with team 4 and team 8, one needs 7 and the other 8.
Reason for this is that this query is linked to by another query that lists the individual team members names and the report needs to list their names. I have tried grouping by OorU and team number in the report and using headers / footers, but the spacing messes up when there are ties. Therefore the best solution I can think of is to have the teams "ranked" in the query and grouped by that ranking in the report.
Any ideas? Again, hope I described that well enough for someone to help and thanks in advance!
In the query: qry2Somes
Field: TeamNumber
Field: OorU
Example:
Team --- OorU
Team 1 = -2 for a ranking of 1
Team 5 = -1 for a ranking of 2
Team 3 = 0 for a ranking of 3
Team 7 = 1 for a ranking of 4
Team 2 = 3 for a ranking of 5
Team 6 = 5 for a ranking of 6
Team 4 = 6 for a ranking of either 7 or 8
Team 8 = 6 for a ranking of either 7 or 8 (depends on rank given to team 4)
What I need to do is add a field that will "rank" them so that I can correctly "group" in a report. For example, in the above, team 1 = 1, team 5 = 2, team 3 = 3 and so on to team 8 = 8. I am not concerned with ties, as with team 4 and team 8, one needs 7 and the other 8.
Reason for this is that this query is linked to by another query that lists the individual team members names and the report needs to list their names. I have tried grouping by OorU and team number in the report and using headers / footers, but the spacing messes up when there are ties. Therefore the best solution I can think of is to have the teams "ranked" in the query and grouped by that ranking in the report.
Any ideas? Again, hope I described that well enough for someone to help and thanks in advance!