P
pat67
I have a table listing the teams in the league. It has a team ID, Name
and location. I have a schedule template that has date, and home and
away. Home and away are numbers.
ID Name Location
1 Team A Bar A
2 Team B Bar B
3 Team C Bar C
4 Team D Bar D
Date Home Away
9/6/11 1 2
9/6/11 3 4
What I want to do is write a query that will sub the team name in
where the team ID is.
Date Home Away
9/6/11 Team A Team B
9/6/11 Team C Team D
How do I do that?
My first thought was to create a match ID the create a query joining
the teams and schedule for home teams and one for away teams. then
joining those two by the match id. My hope was to be able to do it in
one query. I thought about using dlookup, but i figured that would
make the query run really slow.
and location. I have a schedule template that has date, and home and
away. Home and away are numbers.
ID Name Location
1 Team A Bar A
2 Team B Bar B
3 Team C Bar C
4 Team D Bar D
Date Home Away
9/6/11 1 2
9/6/11 3 4
What I want to do is write a query that will sub the team name in
where the team ID is.
Date Home Away
9/6/11 Team A Team B
9/6/11 Team C Team D
How do I do that?
My first thought was to create a match ID the create a query joining
the teams and schedule for home teams and one for away teams. then
joining those two by the match id. My hope was to be able to do it in
one query. I thought about using dlookup, but i figured that would
make the query run really slow.