TechTrain Services TechTrain Software TechTrain Register TechTrain Tutorials TechTrain Home

Access Menu Access 95 Creating, Saving, and Printing Next Topic

Activity 1

Objectives:

  1. Learn to Create and Save a Database
  2. Learn to Define first database table
  3. Learn to Insert data into first table
  4. Learn to Define second database table
  5. Learn to Insert data into second table

Define a new Database

When you open Access, the following window appears.

  1. Select Blank Database.


  2. Click OK.


  3. The create database window is displayed. This dialog box is VERY IMPORTANT! This is where you SAVE your database and give it a name. Unlike, other Windows programs, Access asks you to create, name, and save your database as the FIRST step, rather than the LAST step.

  4. Select a drive to store your database on.


  5. Select a folder to store your database in.


  6. Type a filename.

  7. Access stores ALL database components in one file (the one you name here).
  8. Click Create.

Top of Page


Define a new Student Information Table

The following Database window will appear.



  1. Select the Tables Tab.


  2. Select New.


  3. Select Design View.

  4. We will be defining a new table with student name, address, and emergency contact information.

  5. Click OK.

  6. The Table Definition window will be displayed.



  7. Type the following field names.

  8. (See example above.) All the fields will contain text. We won't change any "Field Properties" at this time.
    1. StudentName
    2. Street
    3. City
    4. State
    5. Zip
    6. Emergency Contact

  9. Click Close. ý

  10. You will be asked if you want to save the table.

  11. Click Yes.

  12. You will be prompted for table name.

  13. Type StudentInformation.


  14. Click OK.


  15. Click NO to question concerning creation of a primary key.

Top of Page


Insert Information into your StudentInformation Table

  1. Select the Tables Tab.


  2. Select StudentInformation.


  3. Select Open.
    1. Select datasheet view, if a dialog box appears.


  4. Type the information shown in the example below.




  1. Close this window. ý

Top of Page


Define a second Student Table for Grades

  1. Select the Tables Tab.


  2. Select New.


  3. Select Design View.


  4. Click OK.

  5. We will be defining a second table with student name and grade information.



  6. Type the following field names. (See example above.)
    1. StudentName - Note: Data type is text
    2. Grades - Use drop-down list in Data Type column to select Number. Use drop-down list in Field Size of Field Properties column to select Integer.

    3. Note: Grades are numeric not text.

  7. Click on Close.

  8. You will be asked if you want to save the table.

  9. Click Yes.

  10. You will be prompted for table name.

  11. Type StudentGrades.


  12. Click OK.


  13. Click NO to question concerning creation of a primary key.

Top of Page


Insert Information into your StudentGrades Table

  1. Select the Tables Tab.


  2. Select StudentGrades.


  3. Select Open.

  4. The table will be displayed in datasheet view.

  5. Type the information shown in the example below..




  6. Close this window. ý

Top of Page


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