Edit: first of all, sorry for the terrible thread heading. I meant to add it after I finish the main part, but forgot. Now I cant edit it 
Hi, im new to this forum and Access. Im trying to create a database of football (soccer) results, data from which could then be used to provide various information such as league tables and current form.
After much tests and tries I managed to produce a query which would calculate games played/won/drew/lost, goals scored/conceded, etc for each team, and then created a report to display the table.
However, Im struggling with the "current form" feature. I would like to calculate the wins/draws/loses, goals scored/conceded, points, etc for each team over the past:
a) 6 home matches
b) 6 away matches
c) 6 matches (overall; home+away)
Each match has a field called date, which I believe should be used here in determining the last x matches. But, unfortunatelly, I have no idea where to start.
Any help is much appreciated
P.S. I've attached the database I have so far.
Hi, im new to this forum and Access. Im trying to create a database of football (soccer) results, data from which could then be used to provide various information such as league tables and current form.
After much tests and tries I managed to produce a query which would calculate games played/won/drew/lost, goals scored/conceded, etc for each team, and then created a report to display the table.
However, Im struggling with the "current form" feature. I would like to calculate the wins/draws/loses, goals scored/conceded, points, etc for each team over the past:
a) 6 home matches
b) 6 away matches
c) 6 matches (overall; home+away)
Each match has a field called date, which I believe should be used here in determining the last x matches. But, unfortunatelly, I have no idea where to start.
Any help is much appreciated
P.S. I've attached the database I have so far.
Attachments
Last edited: