Introduction into Microsoft Access
Starting Up Microsoft Access
Creating New, and Opening Existing Databases
Creating a database using a wizard
Creating a database without using a wizard
Tables - What they are and how they work
Create a table from scratch in Design view
Primary Keys
Switching Views
Entering Data
Manipulating Data
Advanced Table Feature Examples
Relationships - How to link multiple tables together
Forms - What they are and how they work
Creating A Form Using A Wizard
Reports - What they are and how they work
Creating A Report Using A Wizard
Creating Mail Merge Labels using aWizard
Microsoft Access Description
Back to top
Starting Microsoft Access
Back to top
Creating New, and Opening Existing Databases
The above picture gives you the option to:
Back to top
Create a database using the Database Wizard
When Microsoft Access first starts up, a dialog box is automatically displayed
with options to create a new database or open an existing one. If this dialog
box is displayed, click Access Database Wizards, pages, and projects and
then click OK.
If you have already opened a database or closed the dialog box that displays
when Microsoft Access starts up, click New Database on the toolbar.
On the Databases tab, double-click the icon for the kind of database you want
to create.
Specify a name and location for the database.
Click Create to start defining your new database
Back to top
Create a database without using the Database Wizard
When Microsoft Access first starts up, a dialog box is automatically displayed
with options to create a new database or open an existing one. If this dialog
box is displayed, click Blank Access Database, and then click OK.
If you have already opened a database or closed the dialog box that displays when
Microsoft Access starts up, click New Database on the toolbar, and then
double-click the Blank Database icon on the General tab.
Specify a name and location for the database and click Create. (Below is the
screen that shows up following this step)
Back to top
Tables
A table is a collection of data about a specific topic, such as students or
contacts. Using a separate table for each topic means that you store that data only
once, which makes your database more efficient, and reduces data-entry errors.
Tables organize data into columns (called fields) and rows (called records).
Back to top
Create a Table from scratch in Design view
-
If you haven't already done so, switch to the Database Window You can press F11
to switch to the Database window from any other window.
-
Double-Click on "Create table in Design view".
(DESIGN VIEW)
- Define each of the fields in your table.
Back to top
Primary Key
Back to top
Switching Views
|
Datasheet View
|
Design View
|
Displays the view, which allows you to enter raw data into your
database table.
|
Displays the view, which allows you to enter fields, data-types,
and descriptions into your database table.
|
Back to top
Entering Data
Back to top
Manipulating Data
Back to top
Advanced Table Features w/Microsoft Access
- Assigning a field a specific set of characters
- Example) Making a Social Security Number only allows 9 characters.
- Switch to Design View
- Select the field you want to alter
- At the bottom select the General Tab

- Select Field Size
- Enter the number of characters you want this field to have
- Formatting a field to look a specific way (HINT: You do not need to assign a field a specific
set of characters if you do this)
- Selecting a value from a dropdown box with a set of values that you assign to it. This saves
you from typing it in each time
- Example)Choosing a city that is either Auburn, Bay City, Flint, Midland, or Saginaw
- Switch to Design View
- Select the field you want to alter (City)
- At the bottom select the Lookup Tab
- In the Display Control box, select Combo Box
- Under Row Source Type, select Value List
- Under Row Source, enter the values how you want them displayed,
separated by a comma. (Auburn, Bay City, Flint, Midland, Saginaw)
- NOTE:This will not alphabetize them for you, so you will
have to do that yourself. It should look something like this:
- Select in the datasheet view and you should see the change when you go to
the city field.
Back to top
Relationships
After you've set up multiple tables in your
Microsoft Access database, you need a way of telling
Access how to bring that information back together again. The
first step in this process is to define relationships between
your tables. After you've done that, you can create queries,
forms, and reports to display information from several tables
at once.
A relationship works by matching data in key fields - usually a field with the same name
in both tables. In most cases, these matching fields are the primary key from one table,
which provides a unique identifier for each record, and a foreign key
in the other table. For example, teachers can be associated with the students they're
responsible for by creating a relationship between the teacher's table and the student's table using the TeacherID fields.
Having met the criteria above, follow these steps for creating relationships between tables.
- In the database window view, at the top, click on Tools ---> Relationships
- Select the Tables you want to link together, by clicking on them and selecting the Add Button
- Drag the primary key of the Parent table (Teacher in this case), and drop it
into the same field in the Child table (Student in this case.)
- Select Enforce Referential Integrity
- When the Cascade Update Related Fields check box is set, changing a
primary key value in the primary table automatically updates the
matching value in all related records.
- When the Cascade Delete Related Records check box is set, deleting a record in the primary table
deletes any related records in the related table
- Click Create and Save the Relationship
Back to top
Forms
A form is nothing more than a graphical representation of a table. You can
add, update, delete records in your table by using a form. NOTE: Although
a form can be named different from a table, they both still manipulate the same
information and the same exact data. Hence, if you change a record in a form, it
will be changed in the table also.
A form is very good to use when you have numerous fields in a table. This way you
can see all the fields in one screen, whereas if you were in the table view (datasheet)
you would have to keep scrolling to get the field you desire.
Back to top
Create a Form using the Wizard
It is a very good idea to create a form using the wizard, unless you are an
advanced user and know what you are doing. Microsoft Access does a very good
job of creating a form using the wizard. The following steps are needed to create
a basic form:
- Switch to the Database Window. You can do this by pressing F11 on the
keyboard.
- Click on the Forms button under Objects on the left side of screen
- Double click on Create Form Using Wizard
- On the next screen select the fields you want to view on your form. Most of the
time you would select all of them.
- Click Next
- Select the layout you wish
- Click Next
- Select the style you desire...HINT: if you plan
on printing your form, I suggest you use a light
background to save on printer toner and ink
- Click Next
- Give you form a name, and select Open the Form and
enter information
- Select Finish
- You should see your form. To adjust the design of your form,
simply hit the design button (same as with the tables), and
adjust your form accordingly
Back to top
Reports
A report is an effective way to present your data in a printed format. Because you have
control over the size and appearance of everything on a report, you can display
the information the way you want to see it.
Back to top
Create a Report using the Wizard
As with the Form, it is a very good idea to create a report using the wizard, unless
you are an advanced user. Microsoft Access does a very good job using the wizard
to create reports.
- Switch to the Database Window. You can do this by pressing F11 on the
keyboard.
- Click on the Reports button under Objects on the left side of screen
- Double click on Create Report Using Wizard
- On the next screen select the fields you want to view on your form. Most of the
time you would select all of them.
- Click Next
- Select if you would like to group your files. Keep repeating this step for as
many groupings as you would like.
- Click Next
- Select the layout and the paper orientation you desire
- Click Next
- Select the style you desire...HINT: if you plan
on printing your report, I suggest you use a light
background to save on printer toner and ink
- Click Next
- Give you report a name, and select Preview the Report
- Select Finish
- You should see your report. To adjust the design of your report,
simply hit the design button (same as with the tables), and
adjust your report accordingly
Back to top
Creating Mail Merge Labels using a Wizard
Microsoft Access lets you create Mailing Labels for your database that you have. To
do this do the following:
- Switch to the Database Window. You can do this by pressing F11 on the
keyboard.
- Click on the Reports button under Objects on the left side of screen
- Click on New
- Select Label Wizard and the table you would like to get your information
from.
- Click OK
- Select the layout of your labels
- Click Next
- Select the font size and color you want on each label
- Click Next
- Select how you want your label to look
- Click Next
- Select how you want your labels sorted
- Give your label report a name and preview it
Back to top
|