I had all my tables built and I started desiging my queries for my forms. I did not have any problems with my tables until now, when I started to bring build the queries/forms for team points.
My database is for our summer bowling league. We have teams of 3, each week we draw for team members. Teams are created based on what lane# you draw. We bowl 4 games. 1st game is to determine the position line up for the 2nd game, no points awarded. 2nd game - 4th game, the team on that pair of lanes that wins the match is awarded 10 points to add into their score. After 4 games, the team with the most pins wins.
To this point, I've checked in the bowlers and assigned them to teams and captured each bowler's games and their individual points if they beat their opponent. All working great.
However, I can't seem to get the working between teams and team points.
Every bowler is assigned a team
Each team bowls 4 games and can be awarded 10 points for games 2-4 to be added to their game totals.
I built a table for assigning bowlers to a team(CheckInTeam. Fields are:
ChkTeamID (PK Autonumber
ChkInID (is PK in the CheckInBowler table)
TeamID (is PK in the Team table, holding the name of the team)
I then built TeamBonusPoint table with these fields:
TeamPointID (PK Autonumber)
ChkTeamID (is PK in CheckInTeam table)
GameID (is PK in Game table)
TeamBonus (number - where the 10, 5 or 0 are entered for bonus points)
It feels like my issue is the assigning bowlers to a team, but that worked fine for entering their games, but for team points, it seems like I'm having to enter all the ChkTeamID's, which would be 3 when I only want the team once.
I did not see this coming! Interacting the bowlers & games worked fine, thought this would work the same way, but no.
Any help would be great ... hope I explained it well. Robecca
My database is for our summer bowling league. We have teams of 3, each week we draw for team members. Teams are created based on what lane# you draw. We bowl 4 games. 1st game is to determine the position line up for the 2nd game, no points awarded. 2nd game - 4th game, the team on that pair of lanes that wins the match is awarded 10 points to add into their score. After 4 games, the team with the most pins wins.
To this point, I've checked in the bowlers and assigned them to teams and captured each bowler's games and their individual points if they beat their opponent. All working great.
However, I can't seem to get the working between teams and team points.
Every bowler is assigned a team
Each team bowls 4 games and can be awarded 10 points for games 2-4 to be added to their game totals.
I built a table for assigning bowlers to a team(CheckInTeam. Fields are:
ChkTeamID (PK Autonumber
ChkInID (is PK in the CheckInBowler table)
TeamID (is PK in the Team table, holding the name of the team)
I then built TeamBonusPoint table with these fields:
TeamPointID (PK Autonumber)
ChkTeamID (is PK in CheckInTeam table)
GameID (is PK in Game table)
TeamBonus (number - where the 10, 5 or 0 are entered for bonus points)
It feels like my issue is the assigning bowlers to a team, but that worked fine for entering their games, but for team points, it seems like I'm having to enter all the ChkTeamID's, which would be 3 when I only want the team once.
I did not see this coming! Interacting the bowlers & games worked fine, thought this would work the same way, but no.
Any help would be great ... hope I explained it well. Robecca