B
Ben Shaw
Hello,
I have 3 tables:
tblPerson (PersonID, TeamID & other fields)
tblGames (GameID, Person ID, TeamID & other fields)
tblTeams (TeamID & other fields)
I want to create a query that identifies where teams
(TeamID) have had a Game (GameID) that did not involve a
particular Person (personID) i.e records that will not
exist in the Games table.
So for example, lets say the tables are populated as
follows.
tblPerson: PersonID = 1
PersonID = 2
tblTeams: TeamID = 1
TeamID = 2
tblPersonTeam: PersonID = 1, TeamID = 1
PersonID = 2, TeamID = 2
I want to identify the fact that PersonID = 1 has NOT
been involved with TeamID = 2 and return the TeamID.
How do I do this?
All the ID fields are integers.
I'm using Access 97.
Thanks in advance,
Ben.
I have 3 tables:
tblPerson (PersonID, TeamID & other fields)
tblGames (GameID, Person ID, TeamID & other fields)
tblTeams (TeamID & other fields)
I want to create a query that identifies where teams
(TeamID) have had a Game (GameID) that did not involve a
particular Person (personID) i.e records that will not
exist in the Games table.
So for example, lets say the tables are populated as
follows.
tblPerson: PersonID = 1
PersonID = 2
tblTeams: TeamID = 1
TeamID = 2
tblPersonTeam: PersonID = 1, TeamID = 1
PersonID = 2, TeamID = 2
I want to identify the fact that PersonID = 1 has NOT
been involved with TeamID = 2 and return the TeamID.
How do I do this?
All the ID fields are integers.
I'm using Access 97.
Thanks in advance,
Ben.