K
KRosier
Hi folks! I'm still working on my Horseshoe DB (as I have time). I am
reposting this question as the original seems to have become buried.
Using Access 2000 and beginning VBA skills.
I have my tables set up (shown below) to keep track of scores and
standings, both per player and per team for a horseshoe league. This
works great until I have subs. A sub can play for any team, in any
given WkNo (week number). And though highly unusual, it would be
possible for a sub to play for three different teams in a WkNo.
I need to be able to calculate team game totals and team series totals
both with and without handicap. No problem as long as the team members
remain the same. But how do I show a substitute player on team 1 the
first week and team 5 the second. Or worse, the sub on team 1 for the
first game of the first week and on team 3 for the second and third game?
Usually one player can be on only one team. But a sub can be on many
teams and I need to be able to differentiate which team he’s on for
which game and WkNo.
If I add a SubTeamNo to the tblGameStats, it would be duplicating the
information (sort of) in the tblTeam. Is this how it should work or is
there a better table set up that I'm just not seeing? A good push in
the right directions would be very much appreciated.
Thanks in advance for your help and patience!
Kathy
tblTeam
=======
TeamID (autonumber, key)
TeamNo
TeamName
tblPlayer
=========
PlayerID (autonumber, key)
TeamID (linked 1-many to tblTeam)
Fname
Lname
(sub?)
tblWkStats
==========
WkStatsID (autonumber, key)
PlayerID (linked 1-many to tblPlayer)
WkNo
GmDate
tblGmStats
==========
GmStatsID (autonumber, key)
WkStatsID (linked 1-many to tblWkStats)
GmNo
Score
(SubTeamNo?)
reposting this question as the original seems to have become buried.
Using Access 2000 and beginning VBA skills.
I have my tables set up (shown below) to keep track of scores and
standings, both per player and per team for a horseshoe league. This
works great until I have subs. A sub can play for any team, in any
given WkNo (week number). And though highly unusual, it would be
possible for a sub to play for three different teams in a WkNo.
I need to be able to calculate team game totals and team series totals
both with and without handicap. No problem as long as the team members
remain the same. But how do I show a substitute player on team 1 the
first week and team 5 the second. Or worse, the sub on team 1 for the
first game of the first week and on team 3 for the second and third game?
Usually one player can be on only one team. But a sub can be on many
teams and I need to be able to differentiate which team he’s on for
which game and WkNo.
If I add a SubTeamNo to the tblGameStats, it would be duplicating the
information (sort of) in the tblTeam. Is this how it should work or is
there a better table set up that I'm just not seeing? A good push in
the right directions would be very much appreciated.
Thanks in advance for your help and patience!
Kathy
tblTeam
=======
TeamID (autonumber, key)
TeamNo
TeamName
tblPlayer
=========
PlayerID (autonumber, key)
TeamID (linked 1-many to tblTeam)
Fname
Lname
(sub?)
tblWkStats
==========
WkStatsID (autonumber, key)
PlayerID (linked 1-many to tblPlayer)
WkNo
GmDate
tblGmStats
==========
GmStatsID (autonumber, key)
WkStatsID (linked 1-many to tblWkStats)
GmNo
Score
(SubTeamNo?)