Hi! I hope you can help!
I have designed my database and think it holds all the information I need, the rest I hope is possible via reports. If it requires programming then please move this thread to the correct section of the site!
I organise a handicap running race once a month, the handicap is set as 60mins, with the slowest runner going first and the fastest runner going last.
I have setup the database so I can register all the runners.
I have setup the database to accept the results, but while typing this realised that it doesnt store whether a runner is a member of the club on a month by month basis. Will need to do that!
I know its mostly down to the logic and making sure I get the correct calculations entered but this is where I need your help!
What I need to be able to do is create numerous reports each month and also at the end of the year.
I will go over the monthly reports first.
1) Overall Results Report - Show the results of all runners by finish_time for that month
2) Members Only results report - Show the results for all the runners who are members for that month by finish_time for that month.
3) Somehow, I need to allocate a finishing score for each member, each month. If they are first, the get 1 point, if they are second 2 points etc. But this must be for members only.
Yearly / current reports.
1) I need to be able to calculate how many points each runner has been allocated each month so that I can create a leader board, the complicated bit is also how to discard the worst result after X number of runs. (still to be decided)
Overall
I need to be able to recalculate someones handicap after 2 concecutive bad runs i.e. going slower than their handicap i.e. someone who has a handicap of 30mins, finishes 31mins and 32mins. So for the 3rd race they get a new handicap time.
If this is all too confusing then ask as many questions as you like.
Thanks