access 2007 intermediate table of contentss3.amazonaws.com/careertec/manuals and texts/s&c...

33
A2K7I2E/0613 Page i ACCESS 2007 INTERMEDIATE TABLE OF CONTENTS INTRODUCTION ........................................................................ V About This Course ......................................................................................vi Using This Manual .................................................................................... vii How To Proceed ........................................................................................ vii What You’ll Find in Each Unit ................................................................ viii What You’ll Find in Each Lesson ............................................................ viii How to Use the Student Data Files .............................................................ix MICROSOFT CERTIFIED APPLICATION SPECIALIST (MCAS) ....................................................................................... XI How This Course Can Help You Prepare ...................................................xi Exam Requirements ....................................................................................xi UNIT 1 IMPORTING AND EXPORTING DATA IN ACCESS 2007 ................................................................................................. 1 LESSON 1 IMPORT DATA INTO ACCESS 2007 .................................. 3 Importing and Linking Data ......................................................................... 4 Importing Data into an Access Database ..................................................... 6 Importing an Excel Spreadsheet ................................................................ 10 Linking a Database to a Table.................................................................... 15 Lesson Review Exercise Import Data ..................................................... 19 LESSON 2 EXPORT DATA FROM ACCESS 2007 .............................. 21 Export Data from Access 2007 .................................................................. 22 Exporting Data to Excel Spreadsheet......................................................... 23 Exporting to an XML File Format ............................................................. 27 Lesson Review Exercise Export Data ..................................................... 31

Upload: others

Post on 15-Oct-2019

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

A2K7I2E/0613 Page i

ACCESS 2007 INTERMEDIATE

TABLE OF CONTENTS

INTRODUCTION ........................................................................ V

About This Course ...................................................................................... vi

Using This Manual .................................................................................... vii

How To Proceed ........................................................................................ vii

What You’ll Find in Each Unit ................................................................ viii

What You’ll Find in Each Lesson ............................................................ viii

How to Use the Student Data Files ............................................................. ix

MICROSOFT CERTIFIED APPLICATION SPECIALIST

(MCAS) ....................................................................................... XI

How This Course Can Help You Prepare ................................................... xi

Exam Requirements .................................................................................... xi

UNIT 1 IMPORTING AND EXPORTING DATA IN ACCESS

2007 ................................................................................................. 1

LESSON 1 IMPORT DATA INTO ACCESS 2007 .................................. 3

Importing and Linking Data ......................................................................... 4

Importing Data into an Access Database ..................................................... 6

Importing an Excel Spreadsheet ................................................................ 10

Linking a Database to a Table .................................................................... 15

Lesson Review Exercise – Import Data ..................................................... 19

LESSON 2 EXPORT DATA FROM ACCESS 2007 .............................. 21

Export Data from Access 2007 .................................................................. 22

Exporting Data to Excel Spreadsheet ......................................................... 23

Exporting to an XML File Format ............................................................. 27

Lesson Review Exercise – Export Data ..................................................... 31

Page 2: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Table of Contents Access 2007 Intermediate

Page ii A2K7I2E/0613

LESSON 3 COLLECTING DATA USING E-MAIL MESSAGES ...... 33

Setting up Data Collection......................................................................... 34

Collecting Data using e-mail Messages .................................................... 35

UNIT 2 ALTERNATIVE DATA PRESENTATION IN

ACCESS 2007 .............................................................................. 45

LESSON 1 CREATE AND MODIFY A PIVOTTABLE IN ACCESS

2007 ............................................................................................................... 47

Introducing PivotTables ............................................................................ 48

Building a PivotTable ................................................................................ 51

Modifying a PivotTable ............................................................................. 55

Lesson Review Exercise – Create and Modify a PivotTable .................... 61

LESSON 2 CREATE AND MODIFY A PIVOTCHART IN ACCESS

2007 ............................................................................................................... 63

Introducing PivotCharts ............................................................................. 64

Building PivotCharts ................................................................................. 67

Modifying PivotCharts .............................................................................. 71

Lesson Review Exercise – Create and Modify a PivotChart ................... 76

INDEPENDENT PRACTICE ACTIVITY ............................... 77

UNIT 3 ADVANCED TABLES, FORMS AND REPORTS IN

ACCESS 2007 .............................................................................. 81

LESSON 1 RETRIEVE RELATED DATA IN ACCESS 2007 ............. 83

Lookup Fields ............................................................................................ 84

Adding a Lookup Field Manually ............................................................. 85

Adding a Lookup Field Using the Wizard ................................................ 90

Adding a Subdatasheet to a Table ............................................................. 95

Lesson Review Exercise – Retrieve Related Data in Access 2007 ......... 103

LESSON 2 WORKING WITH THE ATTACHMENT FEATURE IN

ACCESS 2007 ............................................................................................ 105

Attaching Files to Database Records ....................................................... 106

Page 3: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Table of Contents Access 2007 Intermediate

A2K7I2E/0613 Page iii

Using Attachments with Tables ............................................................... 107

Using Attachments with Forms and Reports ........................................... 112

Lesson Review Exercise – Working with the Attachment Feature in

Access 2007 .............................................................................................. 117

LESSON 3 VALIDATE DATA IN ACCESS 2007 ................................. 119

Understanding Data Validation ................................................................ 120

Implementing Data Validation ................................................................. 121

Lesson Review Exercise – Validate Data in Access 2007 ....................... 126

LESSON 4 USE SUBFORMS, SUBREPORTS, AND CONDITIONAL

FORMATTING IN ACCESS 2007 .......................................................... 127

Introducing Subforms and Subreports ..................................................... 128

Adding Subforms to Existing Forms ....................................................... 129

Adding Subreports to Existing Reports ................................................... 136

Applying Conditional Formatting ............................................................ 142

Lesson Review Exercise – Use Subforms, Subreports, and Conditional

Formatting ................................................................................................ 147

UNIT 4 ADVANCED QUERIES IN ACCESS 2007 .............. 149

LESSON 1 JOINS AND PARAMETER QUERIES IN ACCESS 2007151

Recognizing Types of Joins ..................................................................... 152

Creating and Editing Joins ....................................................................... 153

Creating Parameter Queries ..................................................................... 159

LESSON 2 ACTION QUERIES IN ACCESS 2007 .............................. 165

Action Queries ......................................................................................... 166

Creating an Update Query ........................................................................ 167

Creating an Append Query....................................................................... 170

Creating a Make-Table Query .................................................................. 174

Creating a Delete Query ........................................................................... 177

Lesson Review Exercise – Action Queries in Access 2007 .................... 182

Page 4: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Table of Contents Access 2007 Intermediate

Page iv A2K7I2E/0613

LESSON 3 ACCESS 2007 QUERIES AND SQL ................................ 185

SQL Queries in Access ............................................................................ 186

Union Queries .......................................................................................... 189

Data-Definition Queries .......................................................................... 193

Pass-through Queries ............................................................................... 196

Subqueries and Editing SQL ................................................................... 197

Lesson Review Exercise – Action Queries ............................................. 200

INDEPENDENT PRACTICE ACTIVITY ............................. 202

Index ........................................................................................................ 207

NOTICES ................................................................................................... 209

Copyright ................................................................................................. 209

Trademark Notices .................................................................................. 209

Disclaimer ................................................................................................ 209

Version ..................................................................................................... 209

Page 5: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

A2K7I2E/0613 Page v

INTRODUCTION

In this introduction, you will find the following information:

· About this course

· Using this manual

· What you’ll find in each unit

· What you’ll find in each lesson

· How to use the student data files

· How to proceed

Page 6: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Introduction

Page vi A2K7I2E/0613

ABOUT THIS COURSE

Welcome to the Access 2007 Intermediate course. Upon

completion of this course, you will be able to:

· Import data into an Access 2007 database

· Distinguish between the options available for importing

data into Access 2007

· Export data from Access 2007

· Distinguish between the formats you can export to from

Access 2007

· Set up data collection in Access 2007

· Collect data by using e-mail messages

· Build an Access 2007 PivotTable

· Modify a PivotTable in Access 2007

· Build a PivotChart in Access 2007

· Modify a PivotChart in Access 2007

· Add a lookup field to an Access 2007 table

· Add a subdatasheet to a table

· Add attachments to Access 2007 records

· Implement data validation in Access 2007

· Add Subforms to an Access 2007 database

· Add Subreports to an Access 2007 database

· Apply conditional formatting to a form in Access 2007

· Create and edit joins in Access 2007 databases

· Create and use simple parameter queries

· Create and run update and append queries in Access 2007

· Create and run a make table query

· Delete data from an Access 2007 database

· Create union queries in Access 2007

Page 7: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Introduction

A2K7I2E/0613 Page vii

· Recognize how to create or modify Access 2007 tables

and indexes using data-definition queries

· Perform SQL processing on a server

· Edit the SQL of a SELECT query and use subqueries

USING THIS MANUAL

This course is delivered in a self-paced training environment. This

method of delivery is designed to meet the varying needs and

learning styles of adult learners.

The student course manual provided with the course is yours to

keep. This manual will guide you through the course using a step-

by-step approach. Because we believe that it is just as important

for you to learn concepts as it is for you to learn Procedures, each

topic begins with a conceptual overview of the feature you are

learning. Then, details and Procedures are presented in small, easy-

to-absorb segments. People generally learn best by doing, so most

of the course will consist of step-by-step exercises at the computer.

Our teaching philosophy is reflected in the way we organize the

material in this manual. Following is an orientation to the manual’s

structure.

· A Table of Contents followed by this introduction.

· Lessons containing Objectives, Discussions, Procedures, Step-

by-Step Exercises, Lesson Review Exercises, and

Independent Practice Activities.

· An Index.

HOW TO PROCEED

Now that you understand the components that make up a lesson,

you should proceed as follows:

Start by reviewing the title pages of the first unit and lesson, paying

particular attention to the Lesson Objectives. The objectives

provide you with an overview of the skills you will learn during the

first lesson.

As you go through the program, follow along by reading the

Discussions (and any Notes and Warnings) for the topic to gain an

Page 8: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Introduction

Page viii A2K7I2E/0613

understanding of the topic and its application. Also review the

Procedures used to apply the feature.

After you have finished learning about each new topic, complete

the Step-by-Step Exercises and Lesson Review Exercise at the

end of the lesson. This will provide you with hands-on experience

in the application you are learning. Make sure that you observe

what is happening on your screen as you complete the steps.

Repeat the process for the remaining lessons until you complete the

unit.

Upon completion of each Unit, complete the Independent Practice

Activity in your manual. This will further check your proficiency

in a hands-on environment in the application you are learning.

WHAT YOU’LL FIND IN EACH UNIT

Units are the largest structural component of the course content. A

unit begins with a title page that lists each lesson within the unit.

Within each lesson there are multiple topics that contain conceptual

and explanatory information. The conceptual information takes the

form of text, exhibits, screen shots, lists, and tables.

Each lesson ends with Step-By-Step Exercises and a Lesson

Review Exercise. Units conclude with an Independent Practice

Activity that gives you an opportunity to practice the collective

skills you’ve learned.

WHAT YOU’LL FIND IN EACH LESSON

Lesson

Objectives

This describes what tasks you will be able to

perform by the end of the lesson.

Topics For every objective, there is a corresponding topic.

Discussion

d Every topic begins with explanatory text. The

Discussions present the conceptual information

such as when and why you might use the feature.

Page 9: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Introduction

A2K7I2E/0613 Page ix

Notes

o

Notes provide additional information about a topic

that is not necessary to complete the task. Notes

may include alternative methods for

accomplishing the task, such as keyboard

shortcuts, or helpful tips about the task.

Warnings

x

Warnings are used to alert you to actions that

may adversely affect the application or current

file.

Procedures

C

The Discussion (and any Notes and Warnings) is

followed by Procedures that presents general

steps to accomplish a task. This information can

be used for future reference back at your

workplace to assist you to complete similar tasks

using the application. The steps in these

Procedures are to be used for reference only and

are not to be carried out during your lesson.

Step-by-

Step

f

A section of Step-by-Step Exercises follows the

main body of topics in the lesson to enable you to

practice what you have learned in a practical

setting using scenarios and data. You will open

files that have been supplied with the course and

save files you might create during the course.

Task

e

Each lesson ends with a Lesson Review Exercise,

and each unit ends with an Independent Practice

Activity. These exercises pool the concepts and

Procedures taught during the lesson or unit,

allowing you to reinforce the skills you have

learned and assimilate the concepts into a cohesive

whole.

HOW TO USE THE STUDENT DATA FILES

Many of the step-by-step and review exercises require that you

open files that have been created for the exercises. These files are

provided for you in a folder called Student Data folder.

Page 10: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Introduction

Page x A2K7I2E/0613

After you open a file, you might be instructed to make changes to

the file. As you work with the file, you will be instructed to save

the modified file using a different name. In doing so, if you make a

mistake, you can simply retrieve the original file from the Student

Data folder and try again.

Note that when you are ending your session for the day, you should

save your work and exit the application in which you are working.

If you are proceeding on to the next lesson you may remain in the

application.

Enjoy your course!

Page 11: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Microsoft Certification

A2K7I2E/0613 Page xi

MICROSOFT CERTIFIED APPLICATION SPECIALIST (MCAS)

A Microsoft Certified Application Specialist is an individual who

has passed exams for certifying his or her skills in one or more of

the Microsoft Office desktop applications. Upon completion of this

courseware, you may be prepared to take exam number 77-605:

Using Microsoft Office Access.

HOW THIS COURSE CAN HELP YOU PREPARE This course can help you to prepare for the Microsoft MCAS:

Using Microsoft Office Access 2007 exam number 77-605.

The series of Access 2007 courses are designed to help you prepare

for this exam, which is a part of the Microsoft Certified Application

Specialist (MCAS) series. The Windows Vista, Word 2007,

PowerPoint 2007, Outlook 2007, and Excel 2007 courses have been

designed to help prepare you for their respective exams.

EXAM REQUIREMENTS The chart on the next page summarizes the topics you will need to

master to pass the Microsoft Access 2007 (77-605) exam. Topics

that are covered in this Access 2007 Intermediate course are

bolded. The remaining topics are covered in Access 2007 Basic

and Advanced courses.

Page 12: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Microsoft Certification Access 2007 Intermediate

Page xii A2K7I2E/0613

Microsoft Office Access 2007

exam number 77-605 Objectives

Skill Sets Exam Skill Standards

Structuring a

Database · Define data needs and types

· Define and print table relationships

· Add, set, change, or remove primary keys

· Split databases

Creating and

formatting

database

elements

· Create databases

· Create tables

· Modify tables

· Create fields and modify field properties

· Create forms

· Create reports

· Modify the design of reports and forms

Entering and

modifying

data

· Enter, edit, and delete records

· Navigate among records

· Find and replace data

· Attach documents to and detach from

records

· Import data

Creating and

modifying

queries

· Create queries

· Modify queries

Presenting

and sharing

data

· Sort data

· Filter data

· Create and modify charts

· Export data

· Save database objects as other file types

· Print database objects

Managing

and

maintaining

databases

· Perform routine database operations

· Manage databases

Page 13: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

UNIT 1 IMPORTING AND EXPORTING DATA IN ACCESS 2007

The following lessons are contained in Unit 1:

Lesson 1 Import Data into Access 2007

Lesson 2 Export Data from Access 2007

Lesson 3 Collect Data using e-mail Messages

Page 14: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series
Page 15: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

LESSON 1 IMPORT DATA INTO ACCESS 2007

In this lesson, you will learn how to:

· Import data into an Access 2007 database

· Distinguish between the options available for importing data

into Access 2007

Page 16: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Unit 1: Importing and Exporting Data in Access 2007 Access 2007 Intermediate

Page 4 A2K7I2E/0613

IMPORTING AND LINKING DATA

d Discussion

Importing data is the conversion and storage of a copy of data from

another file format or program.

Importing is a one-off operation where Access takes an exact

snapshot of the data and copies it into a new table in your database.

If the data source changes after the import, you will need to import

again.

You can import data into Access from a range of data sources,

including text files, Extensible Markup Language (XML) files,

objects from other databases, and Hyper Text Markup Language

(HTML) files.

Importing does not affect the source data, and working with

imported data is quicker than working with linked data.

Linking creates a direct connection to the original data source. You

work with live data, so any changes made to the original source are

reflected in the linked table and any changes made to the linked

table are reflected in the original source.

You can link an Access table to other Access or Open Database

Connectivity (ODBC)-compliant databases, as well as Excel

spreadsheets, HTML documents, and text files.

You should link to an external data source if an application other

than Access is also going to update the data, or if the data is shared

over a network.

o An ODBC database is a database for which an ODBC

driver is provided, such as Microsoft SQL Server. You

can use this driver for importing or linking data.

Linking offers a key advantage in centralized data storage because

it eliminates the problem of sharing multiple copies across an

organization. The limitation of linking is that you can link only to

one type of Access data source – a table. You can't link an Access

report or form to your database.

Page 17: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Lesson 1: Import Data into Access 2007

A2K7I2E/0613 Page 5

The Import group on the External Data tab in Access contains

various options for importing data.

Option Description

Saved Imports

The Saved Imports option enables you to

view and run the import operations you

saved previously.

Access

The Access option enables you to import

data from or link to data in another Access

database.

Excel

The Excel option enables you to import data

from or link to data in a Microsoft Office

Excel file.

SharePoint

List

The SharePoint List option enables you to

import data from or link to data in a

SharePoint list.

Text File

The Text File option enables you to import

data from or link to data in a delimited or

fixed-width text file.

XML File

The XML File option enables you to import

an XML file.

More

The More drop-down menu enables you to

view additional formats that you can import

data from or link to. These formats include

ODBC Databases, HTML Documents,

Outlook Folders, dBASE Files, Paradox

Files, and Lotus 1-2-3 Files.

Page 18: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Unit 1: Importing and Exporting Data in Access 2007 Access 2007 Intermediate

Page 6 A2K7I2E/0613

IMPORTING DATA INTO AN ACCESS DATABASE

d Discussion

Suppose you want to import objects from a different database, such

as a table from an older version of the database. You can use the

import feature to do this.

Before you can import a table, you need to open the Access

database into which you want to import the table.

To import data into an Access database, you access the Get

External Data – Access Database dialog box by clicking the

Access command button in the Import group on the External Data

tab.

Access command button in Import group

You need to specify the name of the source database you want to

import a file from. The current user’s documents folder is

referenced here by default, but you can change this if necessary.

Get External Data dialog box

Page 19: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Lesson 1: Import Data into Access 2007

A2K7I2E/0613 Page 7

You use the File Open dialog box to specify which database you

want to import a file from.

You need to specify whether you want to import the data or create a

link to it. To import the data, you click OK to accept the default

selection of Import tables, queries, forms, reports, macros, and

modules into the current database.

File Open dialog box

The Import Objects dialog box displays a list of objects grouped

by object type – for example, tables, queries, forms, and reports –

that are available for import from the source database. You can

access further options by clicking the Options button.

Import Objects dialog box

Page 20: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Unit 1: Importing and Exporting Data in Access 2007 Access 2007 Intermediate

Page 8 A2K7I2E/0613

The expanded Import Objects dialog box displays further options

for the import operation - such as importing relationships,

importing the table definitions only, and converting queries to

tables.

Expanded Import Objects dialog box

As the final step for importing data into an Access database, you

need to specify whether you would like to save the import steps you

just performed. This enables you to quickly repeat the import

operation in the future.

C Procedures

Import objects from a different database:

· Open the desired database into which you want to import the

object.

· Click the External Data tab.

· Click on the Access command button in the Import group.

· Ensure that the Import tables, queries, forms, reports, macros,

and modules into the current database radio button is selected.

· Click Browse.

· Navigate to the location of the file you want to import.

· Select the file.

· Click Open.

Page 21: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Lesson 1: Import Data into Access 2007

A2K7I2E/0613 Page 9

· Click OK.

(A dialog box for the Import Objects displays).

· Select the object type to import by clicking on the desired tab.

· Select the specific file name.

· Click OK.

Save the import steps:

· Select the Save Import Steps checkbox.

· Click Save Import.

f Step-by-Step

q Objective: Import a table using the Access Import command

feature.

ü Before you begin: Open Access 2007. Open the WSGOODS5

database from the student data folder.

1. Click the External Data tab.

The External Data toolbar displays.

2. Click the Access Command button in the Import group.

The Get External Data – Access Database dialog box opens.

3. Click Browse.

The File Open Look in dialog box displays.

4. In the Look in: box, navigate to the Student data folder.

The contents of the student data folder display.

5. Select the WSGOODS7.accdb database.

The file is selected.

6. Click Open.

The database name displays in the File name: box.

7. Click in the Import tables, queries, forms, reports, macros,

and modules into the current database radio button, if

necessary.

The radio button is selected.

8. Click OK.

The Import Objects dialog box appears.

9. Click the Tables tab.

The list of tables you are able to import displays.

Page 22: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Unit 1: Importing and Exporting Data in Access 2007 Access 2007 Intermediate

Page 10 A2K7I2E/0613

10. Select the Customers table.

A highlight appears on the name of the selected table.

11. Click OK.

A dialog box asking if you would like to save the import steps opens.

12. Click Close.

The dialog box closes and the Customers table is imported.

The table should now appear in the tables section of the

Navigation Pane in your database. Table Customer1 is

created.

ü Before you move on: Leave Access and the WSGOODS5

database open.

IMPORTING AN EXCEL SPREADSHEET

d Discussion

As well as importing from another database, you can import

structured data files, such as spreadsheets. You can import a

variety of spreadsheets and text formats into Access tables, such as:

· Microsoft Excel spreadsheets

· Fixed-width text – where each field value is a certain

width

· Lotus 1-2-3 spreadsheets

· Delimited text – where field values are separated by

commas, tabs, or other characters

To import an Excel spreadsheet into an Access database, you access

the Get External Data – Excel Spreadsheet dialog box by

clicking the Excel command button in the Import group on the

External Data tab.

Page 23: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Lesson 1: Import Data into Access 2007

A2K7I2E/0613 Page 11

Excel command button in Import group

Get External Data Excel Spreadsheet dialog box

Specify the name of the Excel file you want to import in the File

name: box and then specify how you want to store the imported

spreadsheet data.

The Import Spreadsheet Wizard guides you through the import

process. In the first step of the wizard, you specify which

worksheet or range you want to use. You can import individual

worksheets or a named range that you have predefined for a

particular worksheet.

Page 24: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Unit 1: Importing and Exporting Data in Access 2007 Access 2007 Intermediate

Page 12 A2K7I2E/0613

Import Spreadsheet Wizard page one

In the second step of the wizard, you need to specify whether the

first row in the spreadsheet contains column headings. The first

row will name the column fields in your table.

In the third step of the wizard, you specify information about each

of the fields you are importing.

In the fourth step of the wizard, you define a primary key for your

new table.

You type the name of the table in the Import to Table text box.

You click Finish. And you click Close.

Once imported, the table has the same functionality as other tables

in your database.

o A named range includes only the cells that you have

specified to import.

C Procedures

Import an Excel spreadsheet into a database using the Import

Wizard:

· Open the desired database into which you want to import the

Excel Spreadsheet.

· Click the External Data tab.

Page 25: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Lesson 1: Import Data into Access 2007

A2K7I2E/0613 Page 13

· Click the Excel command button.

· Type the path and file name in the File name: box.

· Click OK.

· Specify which worksheet or range you want to import. You can

import individual worksheets or a named range that you have

predefined for a particular worksheet.

· Click Next.

· Specify whether the first row in the spreadsheet contains column

headings. The first row will name the column fields in your

table.

· Select the First Row Contains Column Headings checkbox.

· Click Next.

· Modify the field information in the Field Options section, if

desired.

· Access gives you the following options: Let Access Add

Primary Key, Choose My Own Primary Key, or No Primary

Key. Select the appropriate radio button.

· Click Next.

· In the Import to Table text box, type a name for the table.

· Click Finish.

· Click Close.

f Step-by-Step

q Objective: Import the Employees Spreadsheet into the

WSGOODS5 database using the Import command feature.

ü Before you begin: Access 2007 and the WSGOODS5 database

should be open.

1. Click the External Data tab.

The External Data tab options display.

2. Click the Excel command button.

The Get External Data-Excel Spreadsheet dialog box opens.

3. Click Browse.

The File Open Look in: dialog box displays.

Page 26: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Unit 1: Importing and Exporting Data in Access 2007 Access 2007 Intermediate

Page 14 A2K7I2E/0613

4. In the Look in: box, navigate to the Student data folder.

A list of file names in the student data folder can be seen.

5. Select the Employees.xls spread sheet.

A highlight appears over the spreadsheet name.

6. Click Open.

The selected spreadsheet displays in the File name: box.

7. Make sure Import the source data into a new table in the

current database is selected.

The radio button is selected.

8. Click OK.

The Import Spreadsheet Wizard opens.

9. Click Next.

The next page of the Wizard opens.

10. Click the check box of the First Row Contains Column

Headings.

A check mark should appear in the checkbox.

11. Click Next.

The next page of the Wizard displays and you can ignore the

Field options area.

12. Click Next again.

The next page of the Wizard opens.

13. Accept the default Let Access add a primary key.

A check mark should appear in the checkbox.

14. Click Next.

The next page of the Wizard opens.

15. In the Import to Table: text field rename the file and call it

EmployeesDetails.

The File name EmployeesDetails should appear in the textbox.

16. Click Finish to import your data.

The Get External Data Excel Spreadsheet displays.

17. Click Close.

The Get External Data Excel Spreadsheet closes and the

EmployeesDetails table is imported into the WSGOODS5

database. The table should display in the Navigation Pane.

ü Before you move on: Leave the WSGOODS5 database open.

Page 27: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Lesson 1: Import Data into Access 2007

A2K7I2E/0613 Page 15

LINKING A DATABASE TO A TABLE

d Discussion

Suppose you want to view and edit information in two different

databases without having to create and maintain two copies of that

information. In other words, you want to connect to the information

contained in another database without importing that data. In this

case, linking is a more suitable way of integrating external data.

The first step in linking an Access table to an external source is to

open the Access database in which you want to create the link. To

link to an external source from Access, access the Get External

Data – Access Database dialog box by clicking the Access

command button in the Import group.

Then you specify the name of the source database in the File name:

box.

Get External Data-Access Database dialog box

Specify that you want to link to the data source rather than import

from it by choosing the Link to the data source by creating a

linked table radio button.

Page 28: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Unit 1: Importing and Exporting Data in Access 2007 Access 2007 Intermediate

Page 16 A2K7I2E/0613

Linked Table dialog box

Specify the tables that you want to link to. Access creates a table

and links this to the external data source. This table now displays

in the Navigation Pane.

Arrows indicating Linked Tables in the Navigation Pane

The icon for the linked table is different from that of a table whose

data is stored within Access.

You cannot modify the design of a linked table but you can update,

delete, and append to the data in the table.

C Procedures

Link a database to a table:

· Open the desired database where you want to create the link.

· Click the External Data tab.

· Click the Access command button.

Page 29: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Lesson 1: Import Data into Access 2007

A2K7I2E/0613 Page 17

· Select the Link to the data source by creating a linked table

radio button.

· Click the Browse button.

· Select the database you want to Link to a table from by selecting

the folder containing the Access database

· Click Open.

· Click OK.

· Select one or more tables.

· Click OK to Link the tables to the current database.

An arrow in the Navigation Pane next to the table where the link

was created depicts a successful link.

f Step-by-Step

q Objective: Link a database to a table.

ü Before you begin: Access 2007 and the WSGOODS5 database

should be open.

1. Select the External Data tab.

2. Click the Access command button in the Import Group.

The Get External Data-Access dialog box opens.

3. Click Browse.

The File Open Look in dialog box displays listing all the files in

the folder.

4. In the Look in: box, navigate to the Student data folder and

locate the WSGBCkEnd.accb database.

The database name displays.

5. Select the WSGBCKEnd.accb database.

A highlight should appear over the name of the database.

6. Click the Open button.

The path name to the database appears in the file name box.

7. Select the Link to the data source by creating a linked table

radio button.

The radio button is selected.

8. Click OK.

The Link Table dialog box displays.

Page 30: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Unit 1: Importing and Exporting Data in Access 2007 Access 2007 Intermediate

Page 18 A2K7I2E/0613

9. Select the Customers Table.

A highlight should appear over the selected table.

10. Click OK.

A table called Customer2 should now appear in the Navigation

Pane with arrow icon indicating a successful link.

ü Before you move on: You have successfully linked a table, and it

displays in the Navigation Pane. Close the WSGOODS5 database.

Page 31: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Lesson 1: Import Data into Access 2007

A2K7I2E/0613 Page 19

LESSON REVIEW EXERCISE – IMPORT DATA

e Task

q Objective: Import different formats of data.

ü Before you begin: Open Access. Create a new database called My

Stats and save it in your personal data folder.

1. Import the following Excel tables from the student data

folder the US labor stats using the Excel Import Wizard.

a. Import the data into a new table in the current

database.

b. Click Show Worksheets.

c. First Row Contains Column Headings should be

selected. Click Next.

d. Click Next on the Field Options page.

e. The Let Access add primary key radio button should

be selected.

f. Import to table: Name the table USLaborStats.

g. Click Finish.

h. Do not select import steps on next page and click

Close.

2. Import the StateAwards table from TRAIN4 database using

the Access Import Wizard.

3. Create a link to the GrantInt table in the TRAIN4 database

table.

4. On the Navigation Pane, select the down pointing arrow for

the All Access Objects and select Object Type to change

the grouping of the objects in the Navigation Pane.

Page 32: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Unit 1: Importing and Exporting Data in Access 2007 Access 2007 Intermediate

Page 20 A2K7I2E/0613

View of table listings for completed Step by Step

ü Before you move on: Close the My Stats database. Close Access

2007.

Page 33: ACCESS 2007 INTERMEDIATE TABLE OF CONTENTSs3.amazonaws.com/Careertec/Manuals and Texts/S&C Orientation E-Books... · Using Microsoft Office Access 2007 exam number 77-605. The series

Access 2007 Intermediate Notices

A2K7I2E/0613 Page 209

NOTICES

COPYRIGHT

Copyright 2012 by Career Tech Services. All rights reserved.

Information in this document is subject to change without notice

and does not represent a commitment on the part of Career Tech

Services.

TRADEMARK NOTICES

All product names and services identified throughout this book are

trademarks or registered trademarks of their respective companies.

They are used throughout this book in editorial fashion only and for

the benefit of such companies. No such use, or the use of any trade

name, is intended to convey endorsement or other affiliation with

the book.

DISCLAIMER

While Career Tech Services takes great care to ensure the accuracy

and quality of these materials, all material is provided without any

warranty whatsoever, including, but not limited to, the implied

warranties of merchantability or fitness for a particular purpose.

VERSION

Revised June 2013. Version 6.13