TechTrain "Just-In-Time" - SEARCH for mini-lessons for busy people!"Step-By-Step" tutorials and lesson modules.TechTrain Home
About TechTrain
Step- By-Step
Just- In-Time Search
Products
Services
Guestbook
Technology Certificates
Graduate Courses
   

Access Menu Access 2000 Query - Activity 2Next Topic

 

Objectives:

  1. Learn to Create a query from two tables

Create a query from two tables

A query is the selection and/or joining of information from one or more tables.

In this case we are going to create a query we can use to create letters for students concerning academic progress and grades.

  1. From the Database Main Window, select the Queries Selection from the menu at the left.
  2. Select New.


  3. Select Design View.


  4. Click OK.



  5. A dialog box will open asking which table to include in the query.

  6. Select StudentGrades.
    Select Add.


  7. Select StudentInformation.
    Select Add.


  8. Click Close.
  9. Both tables will be displayed in the Query window. (See below.)


    Now you will select the fields to place in the query.
    Click on the StudentName field in the StudentGrade table.

  10. Drag the selected item (StudentGrade/StudentName) to the first column.
  11. Drag the StudentGrade/Grades to the next column.
  12. Drag the StudentInformation/Street to the next column.
  13. Drag the StudentInformation/City to the next column.
  14. Drag the StudentInformation/State to the next column.
  15. Drag the StudentInformation/Zip to the next column.


  16. Link the two tables together in the Query, by dragging the field they have in common (StudentName) from the StudentInformation table to the StudentName field in the StudentGrades table.


  17. Click on Close.


  18. Click Yes, you want to save your work.


  19. Give the Query the name, such as, StudentInformationAndGrades.


  20. Close Access.

  21. Note: Your database is automatically updated and saved as you exit out of Access.
    Never shut Access down before saving.
    Always exit out to save your work.

Top of Page


   
TechTrain Home
Copyright - Technology Training Team
Please contact us at TechTrainTeam