S
smoothchris
I have a DB that keeps track of tournaments, teams, players and there golf
scores. I am attempting to create a form with a combo box that will allow
the user to select a tournament then the teams linked to that tournament to
be displayed in a sub form. I would like to make the sub form continuous so
that it appears more as a data grid.
The combo box, cmbTournaments, has a row source property set to select the
TournamentID and TournamentName from the tblTournaments table. The problem I
am having is getting a sub form on the main form to then display the proper
teams linked to the selected tournament. I have a table, tblTeams, that
contains a field TeamID and that lists all the teams. I also have a table,
tblTeamLink, that links the tblTournaments and the tblTeams together based on
the TeamID and the TournamentID. I have tried making the combo box bound and
adding items to the Link Child and Link Master fields of the sub form. But I
don’t think I put the correct information in these fields because it didn’t
work.
I am fairly new to Access and VBA. So any help would be greatly appreciated.
scores. I am attempting to create a form with a combo box that will allow
the user to select a tournament then the teams linked to that tournament to
be displayed in a sub form. I would like to make the sub form continuous so
that it appears more as a data grid.
The combo box, cmbTournaments, has a row source property set to select the
TournamentID and TournamentName from the tblTournaments table. The problem I
am having is getting a sub form on the main form to then display the proper
teams linked to the selected tournament. I have a table, tblTeams, that
contains a field TeamID and that lists all the teams. I also have a table,
tblTeamLink, that links the tblTournaments and the tblTeams together based on
the TeamID and the TournamentID. I have tried making the combo box bound and
adding items to the Link Child and Link Master fields of the sub form. But I
don’t think I put the correct information in these fields because it didn’t
work.
I am fairly new to Access and VBA. So any help would be greatly appreciated.