Professional Documents
Culture Documents
Access 2007 - Draft
Access 2007 - Draft
CREATING A TABLE
Blank Database
9
Open Access
Click on Start
Click All Programs
Click Microsoft
Office
Click Access
When the page
opens, locate and
click New Blank
Database
Blank Database
10
Look on the right side of
your screen
Create a FileName
Each word of the File Name
is capitalized. Spaces may
be used (in prior versions of
Access, spaces were not
allowed).
This format us used for
queries, forms and reports.
Click Create
Table
11
smallest meaningful
value
Manually Create a New Field
16
To add a
additional fields,
move the mouse
to the edge of
the field and
click
Click the New
Field icon and a
new field
template will
appear
Add Field Template
17
information
Tasks A table for tracking tasks
http://office.microsoft.com/en-us/access/HA012242511033.aspx?pid=CH100645691033
Create a New Table from a Template
19
Double-click required
and change Required to
Yes
These edits now limit
the size of the Zip Code
field to 20 characters
Since Yes is selected in
the Required field, the
field may not be left
blank when adding data
to the table
Input Mask
32
Zip Codes
SSNs
Date
Time
RELATIONSHIPS
Types of Relationships
45
To remove a
relationship, Right-
click on the
relationship line
Click Delete
Click Yes
The relationship is
removed
One-to-Many Relationship
50
Click on the
Relationships icon on
the toolbar and create a
relationship between
StudentID in the
Students table and
StudentID in the
Workout table
Click Enforce
Referential Integrity &
both boxes below it
The relationship type is
One to Many
One-to-Many Relationship
51
Notice the
“infinity” symbol-
denoting a One-
to-many
relationship
Save your work,
then close the
Relationships
window
Relationships
52
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 and a foreign key A
foreign key indicates how the tables are
related in the other table.
If you want to change the Primary Key,
you must first delete (remove) the
relationship between the tables.
53
QUERIES
Queries
54
Click on the
Create tab
Click Query
Wizard (far right
on the tab)
The Query menu
opens, choose
Simple Query
Wizard
Click OK
Query
56
Click Summary
Click Summary
Options
Query
58
Click Sum
Click OK
Click Next
Query
59
Click Year
Click Next
Query
60
Select the
Students
table
Click Add
Click Close
Students by Zip Code Query
63
To sort by Zip
Code, click under
PostalCode in the
Sort row
Select
Ascending.
There should be
check marks
under each field.
Students by Zip Code Query
65
Click Query
Wizard
Select Find
Duplicates
Query Wizard
Click OK
Find Duplicates in Queries
73
Select the
Workout table
Under View, click
Table
Click Next
Find Duplicates in Queries
74
Select Distance
Click Next
Find Duplicates in Queries
75
Click Query
Design
Select Find
Unmatched
Query Wizard
Click OK
Students Without Matching
77
Workout Query
Select the
Students table
Click Next
Select the
Workout table
Click Next
Tables should be
selected for both
tables
Students Without Matching
78
Workout Query
Click >> to select
all fields
Click Finish
Close all Queries
79
FORMS
Forms
80
On the Create
tab, choose More
Forms
Click Form
Wizard
Form Wizard
82
Select the
Students table,
then select all
fields by clicking
>>
Select the
Workout table,
then select all
fields by clicking
>>
Form Wizard
83
Deselect the
StudentID field in
the Workout table
by clicking on it,
then on <
Click Next
Form Wizard
84
Accept the
defaults by
clicking Next
twice.
Choose Flow
Click Next
Click Finish
Forms
85
REPORTS
Reports
87
Click on the
Students Table
Click Labels in the
Reports Group
Labels
95
Choose 5260 as a
Label type
Click Next
Accept the
defaults
Click Next
Labels
96