I am using Access 2010 and I'm having trouble creating a query to generate the desired output. Any tips would be appreciated.
My database contains tournament results. Each tournament contains five events. Each player receives a score for each event.
I am looking to create a query to return one single value for each player. This value is the maximum score from one event category, from all tournaments within a specific month.
As an example... In May of 2011 there were 8 tournaments (each of these tournaments had 5 scoring events).
I need to find out what each player's highest score was for one event from all tournaments in May of 2011. So if Joe Blough entered three tournaments, and his three scores for one of the events were 226, 488 and 112. Then I need the query to return the value of 488 for Joe Blough.
If there were 688 different players who entered those 8 tournaments, then I will need 688 results returned from the query.
Here is my structure with the pertinent tables. (*) indicates key.
PLAYERS
PlayerID (*)
First Name
Last Name
Club
Country
Tournaments
TouarnamentID (*)
divID
Start Date
Tournament Name
Venue
Results
ResultID (*)
TournamentID
PlayerID
Level
Event1
Event2
Event3
Event4
Event5
I can create one query for each of the five tournament events. The information from these queries will be manipulated using VBA and then spit back out into a new table.
Thanks again. -Brad