![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Im trying to set up a couple of tables to keep track of football stats for a pool I'm in. This is more of a learning exercise for me than an important data collection, but its been driving me nuts because I just can't get it to do what I want. tblTeams fields : **Teams - Just a listing of every team Name1- Check box field to show what teams have already been picked by who Name2-~ Name3-~ tblGames : ****ID **Home Team Away Team Home Team Win-Check box to show who won Home Team Score Guest Team Score tblSeason: ****ID Week Year tblTeams.Teams linked to tbleGames.Home Team tblGames.ID linked to tblSeasons.ID I want to be able to do a query or report that, for each team, will show every game they have been in (as either Away or Home Team) The way it is now, all I can get to come up are the games in which the selected team is the Home Team. Can anyone give me any advice as to how this should be done please? I know its probably a simple solution, but I just can't find it! (and I've tried about 10 different configurations!) Thanks in advance - Sean |
#3
| |||
| |||
|
|
You need to edit your relationships and add in the relationship between the team names and visiting team tblTeams.Teams linked to tbleGames.Visiting Team Good Luck, John "What-a-Tool" <What-a-ToolNoFreakinGroundUpMysteryMeat (AT) cox (DOT) net> wrote in message news:<Fhh8b.51652$Zw4.3299@lakeread03>... Im trying to set up a couple of tables to keep track of football stats for a pool I'm in. This is more of a learning exercise for me than an important data collection, but its been driving me nuts because I just can't get it to do what I want. tblTeams fields : **Teams - Just a listing of every team Name1- Check box field to show what teams have already been picked by who Name2-~ Name3-~ tblGames : ****ID **Home Team Away Team Home Team Win-Check box to show who won Home Team Score Guest Team Score tblSeason: ****ID Week Year tblTeams.Teams linked to tbleGames.Home Team tblGames.ID linked to tblSeasons.ID I want to be able to do a query or report that, for each team, will show every game they have been in (as either Away or Home Team) The way it is now, all I can get to come up are the games in which the selected team is the Home Team. Can anyone give me any advice as to how this should be done please? I know its probably a simple solution, but I just can't find it! (and I've tried about 10 different configurations!) Thanks in advance - Sean |
![]() |
| Thread Tools | |
| Display Modes | |
| |