Attached is a database I am working on. "June 7" helped me clear one hurdle I had for which I very grateful. Now I am at the next and hopefully the last hurdle in this application. The database is attached. I have a query called TournamentRanking that returns all the scores based on gross score and then sorts backwards by hole to break ties to rank the scores from top to bottom. That was pretty straight forward.
What I am struggling with is that I need to "Flight" them and report the scores for each "Flight". Flighting is basically dividing the scores into thirds Flight A, Flight B and Flight C. Again this is pretty easy to do by looking at the data but doing programmatically seems very difficult.
For 36 teams there would be 3 Flights of 12, for 35 teams there would be two flights or 12 and one flight of 11, for 34 teams there would be one flight of 12 and two flights of 11 and so on.
I know I can use Top 33% to get the first flight but how to get the others is my challenge. I think it could be selecting the top 66% and linking it somehow to not include the results of the first query and then flight wouold like somehow to not include the results of either of the first two queries.
I thought about trying to add a field as part of the TournamentRanking Query that contained the RANK as created in that query but everywhere I read said that is a non no in databases so I am asking once again for someone to help me learn the correct way to do this so that I can add it to my knowledge base going forward.
I have also attached a spreadsheet showing what I mean by Flights. As I said it is each on paper but appears to be much harder in access to get to the same point.
ThanksGolf Tournament2.zip