I recently discovered that a football stats program written originally by my Father in the days of Win 3.1, no longer works under 64-bit Windows 7, as the program is looking for "run32.dll". As a result, I have recovered all my data to TXT files, but now need another means of retreiving the information and stats from the data.
I am completely new to Access, but I aim to design a new database for recording every match played by my football club, Clyde, to include the list of Clyde's goal scorers (but NOT their opponents' scorers). Match categories are effectively the various competitions, such as League or Cup, etc.
At present, I have ALL the match data stored in a tabbed TXT file, in the following format:
08/12/1888 SC Celtic 9 Clyde 2 Cherrie (2)
28/09/1889 SC Clyde 1 Northern 2 Bonnar
06/09/1890 SC Clyde 7 Whitefield 2 Brandon H, Brandon R, Gillespie, Neaves (2), Stevenson (2)
27/09/1890 SC Clyde 4 Hurlford 3 Not Known, Brandon R (2), Neaves
I also have a list of the club's Managers, Grounds, and (although I probably don't need it separately(?)), the list of all the scorers (currently in the matches data), plus the list of match Categories.
In the program that no longer works, wildcards were used for filtering match categories. "??" meant all Matches, "?L" meant all League matches in All Divisions, and "1L", "2L", etc identified the League Divisions.
NOTE that for Home matches, my team is placed first, and for Away matches, it is listed second. Also note that the Scorers' names are listed with commas and spaces, and are in a single field. There is also the problem (as I see it) that if one player scores more than once in a single match, his name is listed with the number of goals in brackets after his name, e.g. "Brandon R (2)", rather than listing "Brandon R, Brandon R". (How it currently appears is my preference!)
My initial thoughts on Tables:
Tbl_Categories
ID
CategoryCode
Category
CategoryNotes
Tbl_Teams
ID
TeamName
TeamNotes
Tbl_Grounds
ID
Ground
StartDate
EndDate
GroundNotes
Tbl_Managers
ID
LastName
FirstName
StartDate
EndDate
ManagerNotes
Tbl_Results
ID
MatchDate
CategoryCode
HomeAway
MyTeam
MyTeamGoals
OppTeam
OppTeamGoals
MyTeamScorer1
MyTeamScorer2
etc up to
MyTeamScorer20
MatchNotes
Tbl_Scorers
ID
LastName
FirstName
FirstGoalDate
LastGoalDate
ScorerNotes
Some of the information I aim to be able to extract:
Results against all teams in all categories, including totals for played, won, drawn, lost, goals for, goals against.
Results against a specific other team, either in all categories, or in one category, including totals as above.
Results in all home matches, against all teams in all categories, including totals for played, won, drawn, lost, goals for, goals against.
Results in all away matches, against all teams in all categories, including totals for played, won, drawn, lost, goals for, goals against.
Results for a specific category, with totals.
Results per Manager, with totals.
Results per home ground, with totals.
Results per season, with totals.
List of scorers, including totals of the goals they have scored, in all matches, or per season, or per category, etc.
QUESTIONS:
1. While I have all the match data as a TXT file, I am unsure as to whether I need to re-format it to identify Home or Away in a separate field in order to list "Clyde" always in the same field, or if I would be able to extract the information I require from my data as it stands at present. Can anyone advise, please?
2. I'm unsure about how the Scorers are listed, at present all in one field. Do I need to separate each scorer into a separate field, or can the information I need be extracted from my data without any need to alter it.
ANY ASSISTANCE will be gratefully received!
I don't want to load in any data until I am sure the basic database structure is right.