Creating a Student List Database

The Scenario: You are a elementary school teacher in your home school system and you wish to keep track of some basic student information. So let's create a database!


Start Microsoft Access

  • launch Microsoft Access
  • select Blank Database from the opening dialog box
  • you will now be presented with a Save Dialog Box
    • save the file as <Student List>
    • note the file type for Access is Microsoft Access Databases or <.mdb>

Notice that with Access you save the file before you start working with it! This is common with most database programs.

 


The next step after starting an Access database is to define the fields to be used in your database. This is done by creating a TABLE.
Update in Progress. No changes have been made past this point. Do not continue.

Defining the Fields

The Access Database Window. Note the title bar at the top reads Student List : Database (Access 2000 file format).
Tables is currently selected in the Objects Pane
  • this is the next dialog box you will see
  • with Create table in Design view selected, click on the Design button, or simply double-click on Create table in Design view 
  • this will open a Table, which for now is named simply Table1 (we will save it later), which we will use to define the fields
    • the first column, Field Name, is used to enter the names of each field
    • the second column, Data Type, is used to select the field type
    • the third column, which is optional, is used to enter descriptive information about each field

If you like, you can close the Table you just created. Do not close the database!


Saving the Table, Defining the Primary Key

If you decided later that you needed a primary key, you would do the following:

You will see a key in the gray box to the left of the field row for any field that is set as a Primary Key. To remove a Primary Key, simply follow the same steps to set the key.


Entering Data in Tables

If you wanted to enter data into your database you could do so via the table we just created as follows:

However, forms are a more user-friendly way to view and enter data in a database! We will now create a form and then enter the data.


Go Back


Copyright © 2003
last updated August 12, 2003