daglugub37
Technical User
I would like to design a tblInjuries which will have a fldRosterPlayer...which will look up a field which is also looking up from yet another table.
Let me breakdown everything in the database(which is not much)
****************************
tblPlayers
fldPayerID - AutoNumber PK
fldFirst - text
fldLast - text
fldPosition - text
****************************
tblTeams
fldTeamID - autonumber PK
fldName - text
****************************
tblRoster
fldRosterID - autonumber PK
fldTeamID - Number ComboBox look up
fldPlayerID - Number ComboBox look up
fldSeason - Number
fldStarter - Yes/No
fldRookie - Yes/No
fldVeteran - Yes/No
fldRating - Number
*****************************************************
Here is the rowsource for tblRoster.fldTeamID
SELECT [tblTeams].[fldName], [tblTeams].[fldTeamID] FROM tblTeams;
Bound Column = 2
Here is the rowsource for tblRoster.fldPlayerID
SELECT [tblPlayers].[fldPlayerID], [tblPlayers].[fldFirst]+" "+[tblPlayers].[fldLast]+" - "+[tblPlayers].[fldPosition] AS Name FROM tblPlayers;
Bound Column = 1
I guess the easy way out for me would to just use the same fldPlayerID and fldTeamID scheme as in tblRoster for the tblInjuries I am trying to build. But the let's say the Seattle Seahawk's Koren Robinson gets injured. When I do the data entry I would choose the Seattle Seahawks for the Team field and then Koren Robinson for the player field.
This would be redundant as I already established that Koren Robinson is on the Seattle Seahawks.
I would love to know the right way to do this.
Let me breakdown everything in the database(which is not much)
****************************
tblPlayers
fldPayerID - AutoNumber PK
fldFirst - text
fldLast - text
fldPosition - text
****************************
tblTeams
fldTeamID - autonumber PK
fldName - text
****************************
tblRoster
fldRosterID - autonumber PK
fldTeamID - Number ComboBox look up
fldPlayerID - Number ComboBox look up
fldSeason - Number
fldStarter - Yes/No
fldRookie - Yes/No
fldVeteran - Yes/No
fldRating - Number
*****************************************************
Here is the rowsource for tblRoster.fldTeamID
SELECT [tblTeams].[fldName], [tblTeams].[fldTeamID] FROM tblTeams;
Bound Column = 2
Here is the rowsource for tblRoster.fldPlayerID
SELECT [tblPlayers].[fldPlayerID], [tblPlayers].[fldFirst]+" "+[tblPlayers].[fldLast]+" - "+[tblPlayers].[fldPosition] AS Name FROM tblPlayers;
Bound Column = 1
I guess the easy way out for me would to just use the same fldPlayerID and fldTeamID scheme as in tblRoster for the tblInjuries I am trying to build. But the let's say the Seattle Seahawk's Koren Robinson gets injured. When I do the data entry I would choose the Seattle Seahawks for the Team field and then Koren Robinson for the player field.
This would be redundant as I already established that Koren Robinson is on the Seattle Seahawks.
I would love to know the right way to do this.