I am stuck at the moment. I am creating a sports database in MS Access for our sports club and have the following question...
So what I have: Tbl_Player (Player_ID, Firstname, Lastname, position, Min_Played, Goal, Assist, Yellow, Red)
Tbl_Player_Match (FK Tbl_Player_Player_ID, Min_Played, Goal, Assist, Yellow, Red).
What I need and strugling on is the following. When I add a match and data is being saved in tbl_Player_Match, I would need to have this saved in the "Summary" table which is Tbl_Player.
I cannot find the right syntax for this, should I create another temp table with the stats? Should I simply add an SQL code here?
Thanks a lot for your help.
Bob
I'd strongly suggest just using a query to pull the totals at run time:
If you must add it to the table you'll have to use a domain aggregate function: