Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Help

Status
Not open for further replies.

etjohnson81

Programmer
Jul 17, 2006
72
US
I have a table as follows

MatchID | dateMatch | numHomeTeam | numVisTeam | etc...
1 10/5/2006 1 2

and another table which contains the team information. I want to do a query that will use the example data above but show the team names as well, kind of like a report or schedule. I say I want to use a query because I am incorporating this into an ASP application. Anyone have any ideas? Also it is an MS Access database.

<A href="<img src=" border=0></a>
 
If you have a table with the team numbers and names in:
1) start a new query in design view
2) add both tables
3) drag the numHomeTeam field to numTeam (assumed name there) in your other table to create a link
4) do the same for the visitors
5) select the required fields to show in the output of your query (from either of the tables)
6) run the query

Fen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top