I am creating a football dream team database with two tables:
Team table - Team ID, Team Name, Player 1, Player 2, Player 3, Player 4, Player 5, Player 6, Player 7, Player 8, Player 9, Player 10 and Player 11.
All the player columns are lookup functions which are linked to player table
players table - Player ID, PLayer Name, Position, Club, Value, Points
My problem is i cannot figure out how to use a query to calculate the points total from inputting the points into the player table.
I have came close with a query, but it only adds the player IDs together not player points. Also, it adds all the teams together in one box, not seperate teams in sepeare rows on the query.
Team table - Team ID, Team Name, Player 1, Player 2, Player 3, Player 4, Player 5, Player 6, Player 7, Player 8, Player 9, Player 10 and Player 11.
All the player columns are lookup functions which are linked to player table
players table - Player ID, PLayer Name, Position, Club, Value, Points
My problem is i cannot figure out how to use a query to calculate the points total from inputting the points into the player table.
I have came close with a query, but it only adds the player IDs together not player points. Also, it adds all the teams together in one box, not seperate teams in sepeare rows on the query.