Hi,
I am trying to create a 5-a-side football database and I am having problems understanding how to structure the basics of it. I have searched the forum and cannot find anything which gives an explanation or an example to help me unfortunately.
The database is collecting data on the matches a group of us play once a week, we basically have a list of about 40 people and each week 10 of them play a 5-aside game. This means the teams change each week, so team ‘Lights’ will have different players one week from the next week (as will teams ‘Darks’ too of course. We collect the data on who played and who won, then if you are on the winning team you get 3 points, draw 1 etc on an individual basis. Over the season we get results for each player which details Games played, Win percentage, Average points per game. This is all in an excel sheet but we want this in an Access database now.
In terms of the setup of the access database it is set out as per below so far, which might not be the best way of doing it.
PlayersTBL
ID
Name
GamesTBL
ID
Date of game
Winner – Darks or lights
Game valid – yes/no – in case of injury to a player the game might not be included in scoring
GamePlayerTBL
ID
Date of game
Darks player 1
Darks player 2
Etc to 5
Lights player 1
Lights player 2
Etc to 5
I am really struggling as to how to set this up so it knows which players won each week, which lost and which didnt play etc. It needs to calculate scores when the players might be a light one week then a dark another, from what I have read it might need further linking tables but I am not really sure. Can anyone help or point me in the right direction? I can share the excel sheet if that helps?
Cheers
Pete
I am trying to create a 5-a-side football database and I am having problems understanding how to structure the basics of it. I have searched the forum and cannot find anything which gives an explanation or an example to help me unfortunately.
The database is collecting data on the matches a group of us play once a week, we basically have a list of about 40 people and each week 10 of them play a 5-aside game. This means the teams change each week, so team ‘Lights’ will have different players one week from the next week (as will teams ‘Darks’ too of course. We collect the data on who played and who won, then if you are on the winning team you get 3 points, draw 1 etc on an individual basis. Over the season we get results for each player which details Games played, Win percentage, Average points per game. This is all in an excel sheet but we want this in an Access database now.
In terms of the setup of the access database it is set out as per below so far, which might not be the best way of doing it.
PlayersTBL
ID
Name
GamesTBL
ID
Date of game
Winner – Darks or lights
Game valid – yes/no – in case of injury to a player the game might not be included in scoring
GamePlayerTBL
ID
Date of game
Darks player 1
Darks player 2
Etc to 5
Lights player 1
Lights player 2
Etc to 5
I am really struggling as to how to set this up so it knows which players won each week, which lost and which didnt play etc. It needs to calculate scores when the players might be a light one week then a dark another, from what I have read it might need further linking tables but I am not really sure. Can anyone help or point me in the right direction? I can share the excel sheet if that helps?
Cheers
Pete