Professional Documents
Culture Documents
Copyright 2020 Cc n,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights . some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any suppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if sutlrequent rights restrictions require it.
This is an electronic version of the print textbook. Due to electronic rights restrictions,
some third party content may be suppressed. Editorial review has deemed that any suppressed
content does not materially affect the overall learning experience. The publisher reserves the right
to remove content from this title at any time if subsequent rights restrictions require it. For
valuable information on pricing, previous editions, changes to current editions, and alternate
formats, please visit www cengage com/highered to search by ISBN#, author, title, or keyword for
materials in your areas of interest.
Importa nt Notice: Media content refe renced within the product description or the product
text may not be available in the eBook version.
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any suppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if sutlrequent rights restrictions require it.
New Perspectives Microsoft® Office 365® Access® © 2020, 2017 Cengage Learning, Inc.
2019 Comprehensive Un less otherwise noted, all content is© (engage.
Mark Shellman and Sasha Vodnik
ALL RIGHTS RESERVED. No part of this work covered by the copyright herein
SVP, GM Skills & Global Product Management: may be reproduced or distributed in any form or by any means, except as
permitted by U.S. copyright law, without the prior written permission of the
jonathan Lau
copyright owner.
Product Director: Lauren Murphy
Mac Users: If you're working through this product using a Mac, some of the
Product Assistant: Veronica Moreno-Nestojko steps may vary. Additional information for Mac users is included w ith the Data
Executive Director, Content Design: Marah files for this product.
Bellegarde Disclaimer: This text is intended for instructional purposes only; data is fictional
Director, Learning Design: Leigh Hefferon and does not belong to any real persons or companies.
Learning Designer: Courtney Cozzy Disclaimer: The material in this text was written using Microsoft Windows 10
Vice President, Marketing - Science, Technology, and Office 365 Professional Plus and was Quality Assurance tested before
and Math: jason R. Sakos the publication date. As Microsoft continually updates the Windows 10
operating system and Office 365, your software experience may vary slightly
Senior Marketing Director: Michele McTighe from what is presented in the printed text.
Marketing Manager: Timothy J. Cali Windows, Access, Excel, and PowerPoint are registered trademarks of Microsoft
Director, Content Delivery: Patty Stephan Corporation. Microsoft and the Office logo are either registered trademarks or
Content Manager: Christina Nyren trademarks of Microsoft Corporation in the United States and/or other countries.
This product is an independent publication and is neither affiliated with, nor
Digital Delivery Lead: jim Vaughey authorized, sponsored, or approved by, Microsoft Corporation.
Designer: Lizz Anderson
Some of the product names and company names used in this book have been
Text Designer: Althea Chen used for identification pu rposes only and may be trademarks o r registered
Cover Designer: Lizz Anderson trademarks of Microsoft Corporation in the United States and/or other
countries.
Cover Template Designer: Wing-lp Ngan,
Ink Design, Inc. Un less ot herwise noted, all clip art is courtesy of openclipart.org.
Cengage
20 Channel Center Street
Boston, MA 02210
USA
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any s uppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
Microsoft Office 365 & Access 201 9, Compre he nsive iii
BRIEF CONTENTS
Getting to Know Microsoft Office Versions . ... . .... .. ... .. ...... .. ... . . OFF-1
Using SAM Projects and Textbook Projects ........ . ................... SAM-1
Module 5 Creating Advanced Queries and Enhancing Table Design ........ AC 5-1
Making the Clinic Database Easier to Use
Module 6 Using Form Tools and Creating Custom Forms . . . . ...... . . . ... .AC 6-1
Creating Forms for Lakewood Community Health Services
Module 7 Creating Custom Reports . . . . . ...... . . . . . . . . . ...... . . . . . . .AC 7-1
Creating Custom Reports for Lakewood Community Health Services
Module 8 Sharing, Integrating, and Analyzing Data ... . ... . ........ . ... .AC 8-1
Importing, Exporting, Linking, and Analyzing Data in the Clinic Database
Module 9 Using Action Queries and Advanced Table Relationships .... . .... AC 9-1
Enhancing User Interaction with the Health Database
Module 11 Using and Writing Visual Basic for Applications Code .........AC 11 -1
Creating VBA Code for the Health Database
Index IDX 1
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any suppre-Ssed content does not mate rially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if sutlrequent rights restrictions require it.
New Perspect ives Series
TABLE OF CONTENTS
Getting to Know Microsoft Office Versions ...... OFF-1 Creating a Simple Query ................. . . AC 1-39
Using SAM Projects and Textbook Projects ..... SAM-1 Creating a Simple Form .................... AC 1-42
Creating a Simple Report ..... . ........... . AC 1-45
ACCESS MODULES Printing a Report ......... . ...... . ...... AC 1-48
Module 1 Creating a Database Viewing Objects in the Navigation Pane ..... . . AC 1-48
Tracking Patient, Visit, and Billing Data . . ... AC 1-1 Using Microsoft Access Help ................ AC 1-49
Session 1.1 Visual Overview: Managing a Database . . ...... . ........... . AC 1-50
The Access Window .. . .. ........ . ..... .. . .. AC 1-2 Compacting and Repairing a Database ..... AC 1-51
Introduction to Database Concepts ... . ....... AC 1-4 Backing Up and Restoring a Database ..... . AC 1_52
Organizing Data · · · · · · · · · · · · · · · · · · · · · · · · AC 1-4 Session 1.2 Quick Check ................... AC 1-53
Databases and Relationships ........ . ..... AC 1-4 Review Assignments ...................... AC 1-54
Relational Database Management Systems ......AC 1-6 case Probl ems ... . ....................... AC 1-55
Starting Access and Creating a Database ....... AC 1-7
Module 2 Building a Database and Defining
Working in Touch Mode . ......... . ....... AC 1-9 Table Relationships
Creating a Table in Datasheet View ............ AC 1_11 Creating the Billing and Patient Tables . . . AC 2-1
Renaming the Default Primary Key Field .... AC 1-12 Session 2.1 Visual Overview:
Table Window in Design View .. . . . ......... . . AC 2-2
Changing the Data Type of the Default
Primary Key Field ... . . . ......... . ... . .. AC 1-13 Guidelines for Designing Databases ........... AC 2-4
Adding New Fields ..................... AC 1-14 Guidelines for Setting Field Properties ......... AC 2-6
Saving the Visit Table Structure .... . ...... AC 1-16 Naming Fields and Objects ............ . .. AC 2-6
Creating a Table in Design View .............. AC 1-17 Assigning Field Data Types ................ AC 2-6
Defining Fields ..... . . . ......... . .......AC 1-17 Setting Field Sizes ......... . ........... . . AC 2-7
Specifying the Primary Key ............... AC 1-21 Setting the Caption Property for Fields .. . ... AC 2-8
Renaming Fields in Design View ........... AC 1-22 Modifying a Table in Design View ............. AC 2-9
Saving the Billing Table Structure .......... AC 1-23 Saving the Table Structure ............... AC 2-15
Closing a Table and Exiting Access ... . .. . .... AC 1-24 Modifying the Structure of an Access Table .. . . AC 2-16
Session 1.1 Quick Check . . ................. AC 1-25 Moving a Field in Design View ............ AC 2-16
Adding a Field in Design View . .. ........ . AC 2-17
Session 1.2 Visual Overview:
The Create Tab Options . . . . ......... . ...... AC 1-26 Modifying Field Properties . . . . . . . . . . . . . . . . . AC 2-18
Entering Data into Tables ................... AC 1-28 Changing the Format Property
in Datasheet View ...................... AC 2-18
Copying Records from Another Access Database .. AC 1-34
Changing Properties in Design View ....... AC 2-20
Navigating a Datasheet .................... AC 1-38
. C~pyri,g_ht 2020 Ccn,gagc Learning. All Rights R~rvcd. May not ~copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cCha tcr{s).
restrictio~
&htonal revJew has deemed that any s uppre-Ssed content does not mate natly affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time jf s utlrequent rights require it.
Microsoft Office 365 & Access 2019, Comprehensive
Session 2.1 Quick Check ... . ............... AC 2-23 Finding Data in a Table ........ . .......... AC 3-7
Session 2.2 Quick Check .. . ............ . ... AC 2-51 Modifying the Font Size ................ . AC 3-40
Review Assignments . .. ..... ...... ..... ... AC 2-52 Changing the Alternate Row Color
in a Datasheet .... . ......... . ......... . AC 3-40
Case Problems .. ....... .. . .. .. . ... .. . .. .. AC 2-53
Creating a Calculated Field ....... . ..... . ... AC 3-42
Module 3 Maintaining and Querying a Database
Updating and Retrieving Information Formatting a Calculated Field ........... . AC 3-46
About Patients, Visits, and Invoices . ..... AC 3-1 Using Aggregate Functions . .. ...... ... .. . .. AC 3-47
Session 3.1 Visual Overview: Working wit h Aggregate Functions
Query Window in Design View ..... . . . . .. .... AC 3-2 Using the Total Row .. . . .. . . .... ... .. . .. AC 3-48
Updating a Database ...... . .......... . ..... AC 3-4 Creating Queries with Aggregate
Modifying Records . . ...... ... . .. .... .. . . AC 3-4 Functions .. . . ...... . .... . ..... .. . . . . .. AC 3-49
Hiding and Unhiding Fields................ AC 3-5 Using Record Group Calculations . .. ....... AC 3-52
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. M ay not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any s uppre-Ssed content does not materially affect the overnlllearning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
New Perspectives Series
Working with the Navigation Pane ........... AC 3-53 Module 5 Creating Advanced Queries and Enhancing
Table Design
Session 3.2 Quick Check ............... . ... AC 3-55 Making the Clinic Database Easier
Review Assignments ... . ........... . ...... AC 3-56 to Use . . . . .. . ... . ... . ...... . . . . .. . . AC 5-1
Case Problems ........................... AC 3-57 Session 5.1 Visual Overview: Calculated Field .... AC 5-2
Reviewing the Clinic Database................ AC 5-4
Module 4 Creating Forms and Reports
Using Forms and Re p orts to Display Using a Pattern Match in a Query ............. AC 5-5
Patient and Visit Data ....... . . . . . . . . . AC 4-1
Using a List-of-Values Match in a Query ........ AC 5-8
Session 4.1 Visual Overview: Using the Not Logical Operator in a Query ... . . AC 5-9
Form Displayed in Form View ................ AC 4-2
Using an AutoFilter to Filter Data .......... AC 5-10
Creating a Form Using the Form Wizard ........ AC 4-4
Assigning a Conditional Value to a
Modifying a Form's Design in Layout View ...... AC 4-7 Calculated Field .......................... AC 5-13
Applying a Theme to a Database Object ...... AC 4-7 Creating a Parameter Query ... . ........... . AC 5-17
Adding a Picture to a Form.·············· AC 4-11 Creating a More Flexible Parameter Query ... AC 5-19
Changing the Color of Text on a Form . . .... AC 4-13 Session 5.1 Quick Check ...... . ........... . AC 5-21
Navigating a Form ........................ AC 4-15
Session 5.2 Visual Overview:
Finding Data Using a Form · · · · · · · · · · · · · · · · · AC 4-16 Advanced Query Wizards .................. AC 5-22
Maintaining Table Data Using a Form ......... AC 4-19 Creating a Crosstab Query ................. AC 5-24
Previewing and Printing Selected · a F.md Dup 1·1cates Query . . . . . . . . . . . . AC 5-30
c reat1ng
Form Records ............................ AC 4-20 C . F' d U h dQ AC 5 32
reat1ng a m nmatc e uery . . . . . . . . . . . -
Creating a Form with a Main Form
Creating a Top Values Query ... . ........... . AC 5-34
and a Subform ........................... AC 4-22
Session 5.2 Quick Check ....... . ........... AC 5-35
Session 4.1 Quick Check ... ......... .. .. . .. AC 4-27
Session 5.3 Visual Overview:
Session 4.2 Visual Overview:
Lookup Fields and Input Masks . . . . ......... . AC 5-36
Report Displayed in Print Preview ..... . ...... AC 4-28
Creating a Lookup Field .................... AC 5-38
Creating a Report Using the Report Wizard .... AC 4-30
Using the Input Mask Wizard ... . ........... . AC 5-42
Modifying a Report's Design in Layout View .. . . AC 4-34
Identifying Object Dependencies ............ AC 5-47
Applying a Theme to a Report ............ AC 4-34
Defining Data Validation Rules . . ............ AC 5-48
Changing the Alignment of Field Values .... AC 4-35
Defining Field Validation Rules ............ AC 5-49
Moving and Resizing Fields on a Report .... AC 4-36
Defining Table Validation Rules . . ........ . AC 5-50
Changing the Font Color and Inserting
. · R AC Working with Long Text Fields .............. AC 5-52
a P1cture m a eport . . . . . . . . . . . . . . . . . . . . 4-38
Designating a Trusted Folder .. . . .. ........ . AC 5-55
Using Conditional Formatting in a Report. ..... AC 4-39
Session 5.3 Quick Check ................... AC 5-57
Session 4.2 Quick Check ............ . ...... AC 4-43
Review Assignments ...................... AC 5-58
Review Assignments ...................... AC 4-44
Case Problems ........................... AC 5-59
Case Pro bl ems......... . . . .......... . .... Ac 4- 45
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any s uppre-Ssed content does not materially affect the overnlllearning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
Microsoft Office 365 & Access 2019, Comprehensive vii
Module 6 Using Form Tools and Creating Custom Session 6.3 Visual Overview:
Forms Custom Form in Form View ......... . ....... AC 6-44
Creating Forms for Lakewood Community
Health Services ..................... AC 6-1 Adding a Combo Box to Find Records ....... . AC 6-46
Creating a Relationship Report and Using Adding Calculated Controls to a Main Form .. AC 6-56
the Documenter ........................... AC 6-7 Resizing, Moving, and Formatting
Creating Forms Using Form Tools ........ . ... AC 6-1 1 Calculated Controls . ........ .. . . ....... . AC 6-58
Creating a Form Using the Changing the Tab Order in a Form ........... AC 6-61
Data sheet Tool ........................ AC 6-11 Improving a Form's Appearance ............. AC 6-64
Creating a Form Using the Adding a Line to a Form ................. AC 6-64
Multiple Items Tool ..................... AC 6-13 Adding a Rectangle to a Form .. . ......... AC 6-65
Creating a Form Using the Modifying the Visual Effects of the
Split Form Tool ........ . ............... AC 6-14 Controls in a Form ...................... AC 6-66
Modifying a Split Form in Layout View ...... AC 6-15 Session 6.3 Quick Check ................... AC 6-69
Anchoring Controls in a Form ............. AC 6-19 Review Assignments ...................... AC 6-70
Session 6.1 Quick Check . .. . . ....... . .. . ... AC 6-21 Case Problems ...... . ......... . . . ....... . AC 6-72
Session 6.2 Visual Overview: Module 7 Creating Custom Reports
Custom Form in Design View . . ...... . .. . ... AC 6-22 Creating Custom Reports for Lakewood
Community Health Services . ... . . . . . . . . AC 7-1
Planning and Designing a Custom Form ....... AC 6-24
Session 7.1 Visual Overview: Report Sections .. . . AC 7-2
Creating a Custom Form in Design View . .. . ... AC 6-24
Customizing Existing Reports ................ AC 7-4
Working in the Form Window in
Design View . ........ .. . .. .. . ...... . ... AC 6-25 Viewing a Report in Report View .. . ......... . . AC 7-4
Adding Fields to a Form ... . .. . .. . .... . . . AC 6-27 Copying and Pasting a Report into Word ..... AC 7-6
Aligning Form Controls .................... AC 6-28 Modifying a Report in Design View ........ . ...AC 7-15
Resizing and Deleting Controls .......... . ... AC 6-32 Session 7.1 Quick Check. .. . .... .. ......... . .AC 7-19
Adding a Combo Box Control to a Form ... . . . AC 6-34 Session 7.2 Visual Overview:
Using Form Headers and Form Footers ... . ... AC 6-40 Form in Design View and Print Preview ........ AC 7-20
Adding a Title to a Form ................. AC 6-41 Planning and Designing a Custom Report ..... AC 7-22
Session 6.2 Quick Check ... . ............... AC 6-43 Creating a Query for a Custom Report ........ AC 7-23
Copyright 2020 Ccn,gagc Learning . All Rights R~rvcd. M ay not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that a ny s uppre-Ssed content does not materially affect the overnlllearning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
viii New Perspectives Series
Working with Controls in Design View . . ...... AC 7-32 Using a Tab Control in a Form .. . . . ......... . AC 8-26
H.d.
1 mg Dup11ca
· t e a1ues m v
· a Report . . . . . . . . . . AC 7-38 Creating a Chart Using the Chart Wizard ...... AC 8-30
Session 7.2 Quick Check ... . ............... AC 7-39 Using Templates and Application Parts ........ AC 8-36
Exporting a Report to a PDF File ............. AC 8-40
Session 7.3 Visual Overview:
Custom Form in Design View ............... AC 7-40 Integrating Access with Other Applications .... AC 8-42
Understanding Page Header and Linking Data from an Excel Worksheet. ..... AC 8-43
Page Footer Sections ...................... AC 7-42 Session 8.2 Quick Check ................... AC 8-47
Adding the Date to a Report ............. AC 7-42 Review Assignments ...................... AC 8-48
Adding Page Numbers to a Report ........ AC 7-46 Case Problems ........................... AC 8-49
Adding a Report Title to a Module 9 Using Action Queries and Advanced Table
Page Header Section ............ . ...... AC 7-48 Relationships
Enhancing User Interaction with the
Creating Mailing Labels . . .. . ........ . ...... AC 7-50 Health Database ... . . . . . . . .......... AC 9-1
Session 7.3 Quick Check ................... AC 7-54
Session 9.1 Visual Overview:
Review Assignments .... . . . ....... . .. . .... AC 7-55 Action Queries ............................ AC 9-2
Case Problems ........................... AC 7-56 Action Queries ............................ AC 9-4
Module 8 Sharing, Integrating, and Analyzing Data Creating a Make-Table Query ... . ........ . . AC 9-5
Importing, Exporting, Linking,
and Analyzing Data in the Creating an Append Query ............... AC 9-9
Clinic Database ..................... AC 8-1 Creating a Delete Query .... . .. . ........ . AC 9-12
Session 8.1 Visual Overview: Creating an Update Query ... . ........... AC 9-15
Exporting Data to XM L and HTML ............ AC 8-2 Session 9.1 Quick Check ....... . ........... AC 9-17
Exporting an Access Query to an
Session 9.2 Visual Overview:
HTML Document ......... . ................ AC 8-4
Many-to-Many Relationship ................. AC 9-18
Viewing an HTML Document in a
Understanding Types of Table Relationships ... . AC 9-20
Web Browser ........................... AC 8-6
Many-to-Many Relationships .............. AC 9-21
Importing a CSV File as an Access Table . ....... AC 8-7
One-to-One Relationships .. . ............ AC 9-22
Analyzing a Table with the Table Analyzer ... AC 8-11
Defining M:N and 1:1 Relationships
Working with XML Files .................... AC 8-12
Between Tables .. .. .. . ...... . .. . ........ . AC 9-24
Importing Data from an XML File .......... AC 8-13
Understanding Join Types . . .. .. ............ AC 9-27
Saving and Running Import Specifications ... AC 8-14
Inner and Outer Joins ...... . ........... . AC 9-27
Exporting an Access Table as an XML File ... AC 8-17
Self-Joins ............................. AC 9-31
Saving and Running Export Specifications . . . AC 8-20
Using Indexes for Table Fields .............. . AC 9-36
Session 8.1 Quick Check ................... AC 8-23
Creating an Index ...................... AC 9-39
Copyright 2020 Cc n,gagc Learning . All Rights R~rvcd. M ay not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights . some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that a ny s uppre-Ssed content does not materially affect the overnlllearning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
Microsoft Office 365 & Access 2019, Comprehensive
Session 9.2 Quick Check ... . ............... AC 9-41 Review Assignments . ........... . ........ AC 10-50
Review Assignments ............. . .... . ... AC 9-42 Case Problems .......................... AC 10-51
Case Problems . ...................... . ... AC 9-43 Module 11 Using and Writing Visual Basic for
Applications Code
Module 10 Automating Tasks with Macros Creating VBA Code for the
Creating a User Interface for the Health Health Database ... . . . . .. .......... AC 11-1
Dat abase ............... ....... ... AC 10-1
Session 10.1 Visual Overview: Session 11.1 Visual Overview:
The Macro Designer Window ............... AC 10-2 VBA Code Window · · ..................... AC 11-2
Introduction to Visual Basic for Applications .... AC 11-4
Introduction to Macros ................ . ... AC 10-4
Understanding Procedures ............... AC 11-4
Running a Macro ......................... AC 10-4
Understanding Modules ....... . ......... AC 11-5
Viewing a Macro in the Macro Designer ... . ... AC 10-6
Using an Existing VBA Procedure ............ AC 11-6
Using Arguments in a Macro ............. AC 10-7
Examining a VBA Event Procedure ........ . AC 11-8
Adding Actions to a Macro . . .......... . .... AC 10-7
Modifying an Event Procedure ............ AC 11-11
Single Stepping a Macro .................. AC 10-12
Creating Functions in a Standard Module ..... .AC 11-13
Using a Command Button with an
Attached Macro ......................... AC 10-13 Creating a Function .................. . .. AC 11-14
. C~pyri,g_ht 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated in whole or in a
C p n . ~e t_o clcctromc right~. some third party content may be suppressed fronthc cBook and/or cChaptcr{s)
·
&htonal revJew has deemed that any suppre-Ssed content does not materially affect the overnlllearning , .
expenence. engage ammg reserves the nght to remove additiooal content at any time if sutlrequent rights restrictions require it.
New Perspectives Series
Session 11.2 Quick Check . . . .............. AC 11-37 Session 12.2 Quick Check ................. AC 12-49
Review Assignments .................. . .. AC 11-38 Review Assignments ......... . ........... AC 12-50
Case Problems . ........... . ....... . .. . .. AC 11-38 Case Problems .............. . ........... AC 12-51
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. M ay not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any s uppre-Ssed content does not materially affect the overnlllearning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
Getting to Know
Microsoft Office Versions
Cengage is proud to bring you the next edition of Microsoft Office. This
edition was designed to provide a robust learning experience that is not
dependent upon a specific version of Office.
Microsoft supports several versions of Office:
• Office 365: A cloud-based subscription service that delivers
Microsoft's most up-to-date, feature-rich, modern productivity tools
direct to your device. There are variations of Office 365 for business,
educational, and personal use. Office 365 offers extra online storage
and cloud-connected features, as well as updates with the latest
features, fi xes, and security updates.
• Office 2019: Microsoft's "on-premises" version of the Office apps,
available for both PCs and Macs, offered as a static, one-time
purchase and outside of the subscription model.
• Office Online: A free, simplified version of Office web applications
(Word, Excel, PowerPoint, and OneNote) that facilitates creating and
editing files collaboratively.
Office 365 (the subscription model) and Office 2019 (the one-time pur-
chase model) had only slight differences between them at the time this
content was developed. Over time, Office 365's cloud interface will con-
tinuously update, offering new application features and functions, while
Office 2019 will remain static. Therefore, your onscreen experience may
differ from what you see in this product. For example, the more advanced
features and functionalities covered in this product may not be available
in Office Online or may have updated from what you see in Office 2019.
For more information on the differences between Office 365, Office 2019,
and Office Online, please visit the Microsoft Support site.
Cengage is committed to providing high-quality learning solutions for
you to gain the knowledge and skills that will empower you throughout
your educational and professional careers.
Thank you for using our product, and we look forward to exploring the
future of Microsoft Office with you!
IMPORTANT: To receive full credit for your Textbook Project, you must
complete the activity using the Start file you downloaded from SAM
or MindTap.
Using SAM Projects and Textbook Projects ~
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any suppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if sutlrequent rights restrictions require it.
Copyright 2020 Ctngagc Ltaming. All Rights Reserved. May not bt copitd. 5C3nncd. or duplicated, in whole or in part. Due to cltctronic rights. some third party conttnt may be ~upprcssed frotllthc cBook and/or cChaptcr{~).
Editorial review has deemed that any suppressed content does not materially affect the O\'e ralllearning experience. Cengage Learning reserves the right to remove additiooal cootent at any time if subsequent rights restrictions require it.
MODULE 1
Creating a Database ~
OBJECTIVES
Session 1.1 Tracking Patien t, Visit, and Billing Data
u
U
• Define basic database
concepts and terms <(
Case I Lakewood Community Health Services
• Start and exit Access
• Identify the Mic rosoft Access
w indow and Backstage view Lakewood Community Health Services, a nonprofit health clinic
• Create a b lank database
located in the greater Atlanta, Georgia area, provides a range of
• Create and save a table in
medical services to patients of all ages. The clinic specializes in
Datasheet v iew and Design view
• Add fields to a table in Datasheet chronic disease management, cardiac care, and geriatrics. Donna
view and Design view Taylor, the office manager for Lakewood Community Health
• Set a table's primary key in Services, oversees a small staff and is responsible for maintaining
Design view records for the clinic's patients.
Session 1.2 In order to best manage the clinic, Donna and her staff rely on
• Open an Access database electronic medical records for patient information, bi lling, inventory
• O pen a tabl e using the control, purchasing, and accounts payable. Several months ago,
Navigation Pane the clinic upgraded to Microsoft Access 2019 (or simply Access),
• Copy and paste records from a computer program used to enter, maintain, and retrieve related
another Access database
data in a format known as a database. Donna and her staff want to
• N avigate a table datasheet and
use Access to store information about patients, billing, vendors, and
enter records
• Create and navigate a simple products. She asks for your help in creating the necessary Access
query database.
• Create and navigate a simple
form
• Create, prev iew, navigate, and
print a simple report
• Use Help in Access
• Identify how to compact, back
up, and restore a database
AC 1-1
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. M ay not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that a ny s uppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
AC 1-2 Access I Mo dule 1 Creating a Database
8 ; Tab I~ Tools
File Home Create External Data Database Tools Help Fields Table p
The Shutter Bar Open/Close AB 12 ~ ~ Date&Time
r-§: /x
Button allows you to close 0 V~o
X
and open the Navigation View Short Number Currency
Pane; you might want to Text WJ More Fields •
close the pane so that you V1ews Add & ~l~t~-+----------, Properties
have more room on the
screen to view the object's
contents.
IAll Access Obje ... ~ « 1J:J ~ID • Cltek to Add •
Datash~~t View
------'-' Record. 14 1 of 1 Search
Copyright 2020 Cc ngage Learning . All Rights R~rvcd. May not be copied, scanned, or duplicated. in whole or in pan. Due to electronic right~. some third party content may be ~upprcssed frot11the cBook and/or cChaptcr{.s).
Editorial review has deemed that any s uppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if s ubsequent rights restrictions require it.
Module 1 Creating a Database I Access AC 1-3
Copyright 2020 Ccn,gage Learning. All Rights R~rvcd. May not be copied, scanned, or duplicated. in whole or in pan. Due to electronic right~. some third party content may be ~upprcssed frot11the cBook and/or cChaptcr{.s).
Editorial review has deemed that any suppre-Ssed content does not materially affect the overnlllearning experience. Cengage Learning reserves the right to remove additiooal content at any time if subsequent rights restrictions require it.
AC 1-4 Access I Module 1 Creating a Database
Organizing Data
Data is a valuable resource to any bu siness. At Lakew ood Community Health Servi ces,
for example, important data includes the patients' names and addresses, visit dates,
and billing information. Organizing, storing, maintaining, retrieving, and sorting this
type of data are critica l activities that enable a bu siness to find and use information
effectively. Before sto ring data on a computer, however, you must organize the data.
Your first step in organizing data is to identify the individual fields. A field is a single
characteri stic or attribute of a person, place, object, event, or idea. For example, some of
the many fields that Lakewood Community Health Services tracks are the patient ID, first
name, last name, address, phone number, visit date, reason for visit, and invoice amount.
Next, you group rel ated fields together into tables. A table is a col lection of fields
that describes a person, place, object, event, or idea. Figure 1- 1 shows an example of
a Patient table that contains the following four fields: PatientiD, FirstName, LastName,
and Phone. Each field is a column in the table, w ith the field name displayed as the
co lumn heading.
l' fields )
~Patient Table ~ ~ ~
~
The specific content of a fi eld is called the field value. In Fi gure 1- 1, the first set of
field values for PatientiD, FirstName, LastName, and Phone are, respectively: 13264,
Alex, Olsen, and 404-555-91 32. This set of field values is called a record. In the
Patient table, the data for each patient is stored as a separate record. Figure 1- 1 show s
six records; each row of field values in the table is a record.
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. M ay not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that a ny s uppre-Ssed content does not materially affect the overnlllearning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
Module 1 Creating a Database I Access AC 1-5
In the sample database shown in Figure 1-2, each record in the Patient table has a
field named Pati entiD, which is also a field in the Visit table. For example, Jim Williams
is the fifth patient in the Patient table and has a PatientiD f ield value of 13290. This
same PatientiD field va lue, 13290, appears in two records in the Visit table. Therefore,
Jim W il liams is the patient that was seen at th ese two visits.
( common field
Visit table
( foreign key )
two visits for
Jim Williams
J
_____,. VisitiD PatientiD
+ VisitDat e Reason
1459 13276 11 /3/2020 Asthma
1483 13264 12/ 1/ 2020 Influenza
1509 13273 1/ 7/ 2021 Annual wellness visit
1565
1567
13290
13283
2/24/2021
2/ 26/ 2021
Laceration of right calf
Annual wellness visit
I
1575 13290 3/10/2021 Laceration follow-up I~
1596 13299 3/24/ 2021 Pneumonia
Each 10 va lue in the Patient tab le must be unique so that you can distinguish one
patient from another. Th ese unique PatientiD values also identify each patient's specific
visits in the Visit table. The PatientiD field is referred to as the primary key of the Patient
table. A primary key is a f ield, or a collection of fields, w hose va lues uniquely identify
each record in a tab le. No two records can contain the same value for the primary
key field. In the Visit table, the Vi sitiD field is the primary key because Lakewood
Community Health Services assigns each visit a unique identification number.
When you include the primary key from one table as a field in a second table to
fo rm a relationship between the two tables, it is ca l led a foreign key in the second
table, as shown in Figure 1-2 . For example, PatientiD is the primary key in the Patient
table and a foreign key in the Visit table.
The PatientiD field must have the same characteristics in both tables. Although the
primary key PatientiD contains unique values in the Patient table, the same f ield as a
foreign key in the Visit table does not necessarily contain unique values. The PatientiD
value 13290, for example, appears two times in the Visit table because Jim Williams
made two vi sits to the clinic.
Each foreign key va lue, however, must match one of the field values for the primary
key in the other table. In the example shown in Fi gure 1-2, each PatientiD value in th e
Visit table must match a Patienti D value in the Patient table. The two tables are related,
enabling users to connect the facts about pat ients w ith the facts about their visits to the
clinic.
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any s uppre-Ssed content does not materially affect the overnlllearning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
AC 1-6 Access I Mod ule 1 Creating a Database
-"-'
::I: When you create a database, you must create separate tables that contain only
C) fields that are directly related to each other. For example, in the Lakewood
database, the patient and visit data should not be stored in the same table because
z doing so would make the data difficult to update and prone to errors. Consider
Jim W illiams and his visits to the clinic, and assume that he has many more than
just two visits. If all the patient and visit data was stored in the same table, so that
each record (row) contained all t he information ab out each visit and the p atient, the
patient data would appear multiple t imes in the table. This causes problems when
the data changes. For example, if the phone number for Jim Williams changed, you
would have to upd at e the multiple occurrences of the pho ne number through o ut
the table. Not only would this be time-consuming, it would increase the likelihood
of errors or inconsistent data.
storage
display ~
query int eract wit h
results the database
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any suppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if sutlrequent rights restrictions require it.
Module 1 Creating a Database I Access AC 1-7
To start Access:
t 1. On the Windows taskbar, click the Start button EEJ. The Start menu opens.
t 2. On the Start menu, scroll down the list of apps, and then click Access.
Access starts and d isplays the Recent screen in Backstage view. See
Figure 1-4.
Copyright 2020 Ccn,gagc Learning. All Rights R~f'\·cd. May not be copied, scanned, or duplicated. in whole or in part. Due to electronic rights. some third party content may be suppressed frot11thc cBook and/or cChaptcr{li).
Editorial review has deemed that any suppre-Ssed content does not materially affect the O\'ernlllearning experience. Cengag.e Learning reserves the right to remove additiooal content at any time if subsequent rights restrictions require it.
AC 1-8 Access I Module 1 Creating a Database
-- _ ....
--
When yo u start Access, the f irst screen that appears is Backstage view, wh ich is the
starting place for your work in Access. Backstage view contains commands that allow
you to manage Access files and options. The Recent screen in Backstage view provides
options for you to create a new database or open an existing database. To create a new
database that does not contain any data or objects, you use the Blank database option.
If the database you need to create contains objects that match those found in common
databases, such as databases that store data about contacts or tasks, you can use one
of the templates provided w ith Access. A template is a predesigned database that
inc ludes professionally designed tab les, reports, and other database objects that can
make it quick and easy for you to create a database. You can also search for a template
onl ine using the Search for online templates box.
In this case, the temp lates provided do not match Donna's needs fo r the c linic's
database, so you need to create a new, blank database from scratch.
Copyright 2020 Ccn,gagc Lcamin,g. All Rights R~f'\·cd. May not be copied, scanned, or duplicated. in whole or in part. Due to electronic rights. some third party content may be suppressed frot11thc cBook and/or cChaptcr{li).
Editorial review has deemed that any s uppressed content does not materially affect the O\'ernlllearning experience. Cengag.e Learning reserves the right to remove additiooal content at any time if subsequent rights restrictions require it.
Module 1 Creating a Database I Access AC 1-9
Be sure to type Lakewood t 3. In the File Name box, type Lakewood to replace the selected database
or you'll create a database
name provided by Access, Database1. Next you need to specify the location
named Database1.
for the fi le.
t 4. Click the Browse button D
to the right of the File Name box. The File New
Database dialog box opens.
t 5. Navigate to the drive and folder where you are storing your files, as specified
by your instructor.
t 6. Make sure the Save as type box displays "Microsoft Access 2007-2016
Databases."
Trouble? If your computer is set up to show file name extensions, you will
see the Access file name extension " .accdb" in the File name box.
~·
7. Click OK. You return to the Blank database screen, and the File Name box
If you don't type the now shows the name Lakewood.accdb. The filename extension ".accdb"
filename extension, Access identifies the file as an Access 2007-2016 database.
adds it automatically.
8. Click Create. Access creates the new database, saves it to the specified
location, and then opens an empty table named Table1.
Trouble? If you see only ribbon tab names and no buttons, click the Home
tab to expand the ribbon, and then in the lower-right corner of the ribbon,
click the Pin th is pane button to pin the ribbon. B
Refer back to the Session 1.1 Vi sual Overview and spend some time becoming
famil iar w ith the components of the Access w indow.
--
:x: Access 2019 uses the .accdb file extension, which is the same fi le extension used
"'z
V)
for databases created with Microsoft Access 2007, 2010, 2013, and 2016. To ensure
compatibility between these earlier versions and the Access 2019 software, new
databases created using Access 2019 have the same file extension and file format as
Access 2007, Access 2010, Access 2013, and Access 2016 databases.
Copyright 2020 Ccn,gagc Learning . All Rights R~rvcd. M ay not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that a ny s uppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
AC 1-10 Access I Module 1 Creating a Database
The figures in this text show the standard Mouse Mode display, and the
instructions assume you are using a mouse to click and select options, so
you'll switch back to Mouse Mode.
Trouble? If you are using a touch device and want to remain in Touch Mode,
skip Steps 5 and 6.
t 5. On the Quick Access Toolbar, click the Touch/Mouse Mode button and EJI,
then click Mouse. The ribbon returns to the standard display, as shown in the
Session 1.1 Visual Overview.
t 6. On the Quick Access Toolbar, click the Customize Quick Access Toolbar
button 11.
and then click Touch/Mouse Mode to deselect it. The Touch/
Mouse Mode button is removed from the Quick Access Toolbar.
Copyright 2020 Ccn,gagc Learning . All Rights R~rvcd. M ay not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that a ny s uppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
Module 1 Creating a Database I Access AC 1-11
For Lakewood Community Health Services, Donna needs to track information about
each patient visit at the clinic. She asks you to create the Visit table according to the
plan shown in Figure 1-6.
field Purpose
VisitiD Unique number assigned to each visit; will serve as the table's primary key
PatientiD Unique number assigned to each patient; common field that will be a foreign
key to connect to the Patient table
VisitDate Date on which the patient visited the clinic
Reason Reason/diagnosis for the patient visit
Walkln Whether the patient visit was a walk-in or scheduled appointment
As shown in Donna's plan, she wants to store data about visits in five fields,
including fields to contain the date of each visit, the reason for the visit, and if the visit
was a walk-in or scheduled appointment. These are the most important aspects of a visit
and, therefore, must be tracked. Also, notice that the VisitiD field w ill be the primary
key for the table; each visit at Lakewood Community Health Services is assigned
a unique number, so this field is the logica l choice for the primary key. Finally, the
PatientiD field is needed in the Visit table as a foreign key to connect the information
about visits to patients. The data about patients and their invoices will be stored in
separate tables, which you w il l create later.
Notice the name of each field in Figure 1-6. You need to name each field, table, and
object in an Access database.
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any s uppre-Ssed content does not materially affect the overnlllearning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
AC 1-12 Access I Module 1 Creating a Database
Copyright 2020 Ccn,gagc Lcamin,g. All Rights R~f'\·cd. May not be copied, scanned, or duplicated. in whole or in part. Due to electronic rights . some third party content may be suppressed frot11 thc c Book and/or cChaptcr{li).
Editorial review has deemed that a ny s uppressed conte nt does not mate rially a ffec t the O\'ernlllearning experience. Cengag.e Learning reserves the right to remove additiooal content at any time if s ubsequent rights restrictions require it.
Module 1 Creating a Database I Access AC 1-13
Not ice that the Table Tools Fields tab is active on the ribbon . This is an example of
a contextual tab, which is a tab that appears and provides options for working with a
specific object that is selected-in this case, the table yo u are creating. As you work
w ith other objects in the database, other contextual tabs wi ll appear with commands
and options related to each selected object.
You have renamed th e default primary key field, ID, to VisitiD. However, the VisitiD
field still retains the characteristics of the ID f ield, including its data type. Your next task
is to change the data type of th is f ield .
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any suppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if sutlrequent rights restrictions require it.
AC 1-14 Access I Mod ule 1 Creating a Database
Note the Unique check box in the Field Validation group. This check box is
selected because the VisitiD field assumed the characteristics of the default
primary key field, ID, including the fact that each value in the field must be
unique. Because this check box is selected, no two records in the Visit table
will be allowed to have the same value in the VisitiD f ield.
With the VisitiD field created and established as the primary key, you can now enter
the rest of the fields in the V isit table.
Copyright 2020 Ccn,gagc Lcamin,g. All Rights R~f'\·cd. May not be copied, scanned, or duplicated. in whole or in part. Due to electronic rights. some third party content may be suppressed frot11thc cBook and/or cChaptcr{li).
Editorial review has deemed that a ny suppressed content does not materially affect the O\'ernll learning experience. Cengag.e Learning reserves the right to remove additiooal content at any time if s ubsequent rights restrictions require it.
Module 1 Creating a Database I Access AC 1-15
The text "Field1" is selected, so you can simply type the new field name to
replace it.
2. Type PatientiD. Access adds the second field to the table. Next, you'll add
the VisitDate field. Because this field will contain date values, you'l l add a
f ield with the Date/Time data type, which allows field values in a variety of
date and time formats.
3. In the Add & Delete group, click the Date & Time button. Access adds a
third field to the table, this t ime with the Date!Time data type.
4. Type VisitDate to replace the selected name "Field1." The fourth field in
the Visit table is the Reason field, which will contain brief descriptions of the
reason for the visit to the clinic. You'll add another Short Text field-this time
using the Click to Add column.
5. Click the Click to Add column heading. Access d isplays a list of available
data types for the new field.
6. Click Short Text in the list. Access adds a fourth f ield to the table.
7. Type Reason to replace the high lighted name "Field1," and then press
ENTER. The Click to Add column becomes active and displays the list of
field data types.
The fifth and fina l fie ld in the Visit table is the Walkln fie ld, which will indicate
whether the patient had a schedu led appointment. The Yes/No data type is
suitable for this field because it defines fields that store values representing
one of two options-true/false, yes/no, or on/off.
~·
8. Click Yes/No in the list, and then type Walkln to replace the highlighted
You can also type the name "Field1."
first letter of a data type
to select it and close the
Trouble? If you pressed TAB or ENTER after typing the Wa lkln field name,
Click to Add list. press ESC to close the Click t o Add list.
9. Click in the row below the VisitiD column heading. You have entered all five
fields for the Visit table. See Figure 1-10.
Copyright 2020 Ccn,gagc Learning. All Rights R~f'\·cd. May not be copied, scanned, or duplicated. in whole or in part. Due to electronic rights. some third party content may be suppressed frot11thc cBook and/or cChaptcr{li).
Editorial review has deemed that any suppre-Ssed content does not materially affect the O\'ernlllearning experience. Cengag.e Learning reserves the right to remove additiooal content at any time if subsequent rights restrictions require it.
AC 1-16 Access I Module 1 Creating a Database
The table contains three Short Text fields (VisitiD, PatientiD, and Reason), one
Date/Time field (VisitDate), and one Yes/No field (Walkln). You'll learn more
about field data types in the next module.
As noted earlier, Datasheet view shows a table's contents in rows (records) and
columns (fields). Each column is headed by a field name inside a field selector, and
each row has a record selector to its left (see Figure 1- 10). Cl icking a field selector or
a record selector selects that entire column or row (respectively), which you then can
manipulate. A field selector is also called a column selector, and a record selector is
also ca lled a row selector.
Saving a Table
w • Make sure the table you want to save is open.
u
zw • On the Quick Access Toolbar, click the Save button. The Save As dialog box opens.
0::: • In the Table Name box, type the name for the table.
w • Click OK.
u.
w
0:::
According to Donna's plan, you need to save the table with the name "Visit."
Copyright 2020 Ccn,gagc Lcamin,g. All Rights R~f'\·cd. May not be copied, scanned, or duplicated. in whole or in part. Due to electronic rights . some third party content may be suppressed frot11thc c Book and/or cChaptcr{li).
Editorial review has deemed that any suppressed content does not materially affect the O\'ernlllearning experience. Cengag.e Learning reserves the right to remove additiooal content at any time if s ubsequent rights restrictions require it.
Module 1 Creating a Database I Access AC 1-17
t 2. With the default name Table1 selected in the Table Name box, type V isit and
then click OK. The tab for the table now displays the name "Visit," and the
Visit table design is saved in the Lakewood database.
t 3. Click the Close 'Visit' button ~ on the object tab (see Figure 1-10 for the
location of this button). The Visit table closes, and the main portion of the
Access window is now blank because no database object is currently open.
The Lakewood database file is stil l open, as indicated by the filename in the
Access window title bar.
table
You' ll use Donna's design as a guide for creati ng the Billing table in the Lakewood
database.
Defining Fields
When you fi rst create a table in Design view, the insertion point is located in the first
row's Field Name box, ready for you to begin defining the first field in the table. You
enter values for the Field Name, Data Type, and Descripti on field properties (optional),
and then select values for all other f ield properties in the Field Properties pane. These
other properties wi ll appear w hen you move to the first row's Data Type box.
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any suppre-Ssed conte nt does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if sutlrequent rights restrictions require it.
AC 1-18 Access I Module 1 Creating a Database
The f irst f ield you need to define is the lnvoiceNum field. Thi s field wil l be the
primary key for the Bi lling table. Each invoice at Lakewood Community Health Services
is assigned a specific five-d igit number. Although the lnvoiceNum field w ill contain
these number values, the numbers will never be used in calculati ons; therefore, you' ll
assign the ShortText data type to thi s field. Any time a field contains number values that
w ill not be used in calculations- such as phone numbers, postal codes, and so on- you
should use the Short Text data type instead of the Number data type.
·-.-__
Properties pane
.....
-...--. ....
:_ .....,.
.._..
-
..."''" } default property values
awu..,....,...-. .. ,.. .,..,..
.,...,.,, c.. . . . . . . ,... "''", ....
-eft-·"""'
......_..,,.=-
:"::.'-"- :; -+--....l.......l for a Short Text field
:s---......
~--------------------------------------------------------------~~
The right side of the Field Properties pane now provides an explanation for
the current property, Data Type.
Copyright 2020 Ccn,gagc Lcamin,g. All Rights R~f'\·cd. May not be copied, scanned, or duplicated. in whole or in part. Due to electronic rights. some third party content may be suppressed frot11thc cBook and/or cChaptcr{li).
Editorial review has deemed that any suppressed content does not materially affect the O\'ernll learnin,g experience. Cen,gag.e Learning reserves the right to remove additiooal cootent at any time if subsequent rights restrictions require it.
Module 1 Creating a Database I Access AC 1-19
Trouble? If you make a typing error, you can correct it by clicking to position
the insertion point, and then using either BACKSPACE to delete characters to
the left of the insertion point or DELETE to delete characters to the rig ht of
the insertion point. Then type the correct text.
Because the lnvoiceNum field values will not be used in calculations, you will
accept the default Short Text data type for the field.
t 2. Press TAB to accept Short Text as the data type and to advance to the
Description (Optional) box.
Next you'll enter the Description property value as " Primary key." The va lue
you enter for the Description property will appear on the status bar when
you view the table datasheet. N ote that specifying "Primary key" for the
Description property does not establish the current field as the primary key;
you use a button on the ribbon to specify the primary key in Design view,
which you will do later in this session.
~-
3. Type Primary key in the Description (Optional) box and press ENTER.
You can also use TAB to
At this point , you have entered the first field (lnvoiceNum) into the table and
advance to the second
are ready to enter the remaining fields into the table.
Donna's Bi ll ing table design (Figure 1- 11) shows Visit iD as the second field.
Because Donna and other staff members need to relate information about i nvoices to
the visit data in the Visit table, the Bi lling table must include the VisitiD field, which is
the Visit table's primary key. Recall that when you include the primary key from one
table as a field in a second tab le to connect the two tables, the field is a foreign key in
the second tab le.
Copyright 2020 Ccn,gagc Learning. All Rights R~f'\·cd. May not be copied, scanned, or duplicated. in whole or in part. Due to electronic rights . some third party content may be suppressed frot11thc cBook and/or cChaptcr{li).
Editorial review has deemed that any s uppre-Ssed content does not materially affect the O\'ernlllearning experience. Cengag.e Learning reserves the right to remove additiooal content at any time if s ubsequent rights restrictions require it.
AC 1-20 Access I Module 1 Creating a Database
t 2. Press TAB to accept Short Text as the field's data type. Because the VisitiD
field is a foreign key to the Visit table, you'll enter "Foreign key" in the
Description (Optional) box to help users of the database understand the
purpose of this field.
t 3. Type Foreign key in the Description (Optional) box and press ENTER.
The third field in the Billing table is the lnvoiceAmt field, wh ich w il l display the
The quickest way to move dollar amount of each invoice the clin ic sends to the patients. The Currency data type
back to the Table Design is the appropriate choice forth is field.
grid is to use the mouse.
The fourth field in the Billing table is the lnvoiceDate field. This field w ill contain
the dates on wh ich invoices are generated for the cl inic's patients. You'l l define the
lnvoiceDate field using the Date!fime data type.
Copyright 2020 Ccn,gagc Lcamin,g. All Rights R~f'\·cd. May not be copied, scanned, or duplicated. in whole or in part. Due to electronic rights. some third party content may be suppressed frot11thc cBook and/or cChaptcr{li).
Editorial review has deemed that any s uppressed content does not materially affect the O\'ernlllearning experience. Cengag.e Learning reserves the right to remove additiooal content at any time if s ubsequent rights restrictions require it.
Module 1 Creating a Database I Access AC 1-21
-Doll -- . . .
"'
£t-- - p ,,....,_,_ _ 4o
--
- O..t
r, i'"""1
.. '="- ~.:-.::.:.. ~ o,.:::..
-
-- L.. t:::.: m
._..~
-
t 3. Press TAB to advance to the Description (Optional) box. Note that Access
changes the value for the Data Type property to "Date/Time."
t 4. Because the lnvoiceDate field does not need a special description, press TAB.
The fifth, and final, field to be defined in the Bil ling table is lnvoicePaid. Thi s field
w i ll be a Yes/No field to indicate the payment status of each invoice record stored in
the Billing table. Recall that the Yes/N o data type defines fields that store true/false,
yes/no, and on/off field values. When you create a Yes/No f ield in a table, the default
Format property is set to Yes/No.
You've finished defining the fields for the Bill ing table. Next, you need to specify the
primary key fo r the table.
Copyright 2020 Ccn,gagc Learning . All Rights R~rvcd. M ay not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that a ny s uppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
AC 1-22 Access I Module 1 Creating a Database
According to Donna's design, you need to specify lnvoiceNum as the primary key
for the Bi lling table. You can do so while the table is in Design view.
L- ·
Renaming Fields in Design View
Donna has decided to rename the lnvoiceAmount field in the Billing table to
lnvoiceAmt. Since Amt is an appropriate abbreviation for Amount, this new name wi ll
be just as readable, yet a little shorter.
•• - "- - -
- -- --
t.loMJ~
~-
~-
-
,..
[J
~
-
P•~~--,...-
~ ........., .........,
c-o.
- · -......
·-
-...
Ot,od
....,_..
........_ -------------'""'=='~.leO!! -
• --
- _, ,Ul __----,:,"'-Ytrt
_,...., - - - - - - - - - - - - - - - - - - - - - , i
( renamed field )t----l•~ ::-:-"'
-:-Din-e•----:;;..~·:-------------------------~
_... .,..p.o
Copyright 2020 Cc n,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd. or duplicated. in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that a ny s uppre-Ssed conte nl does not male riatly affect lhe overnll learning experience. Cengage Learning reserves the righl lo remove additiooal cootent at any time if s utlrequent rights restriclions require it.
Module 1 Creating a Database I Access AC 1-23
You have now successfully created and saved the structures for the Visit and Bil li ng
tables; however, you have not yet added any data to these tables. You can view and
work with these objects in the Navigation Pane.
_.. _
the Billing and Visit
- .... ''"""
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any suppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if sutlrequent rights restriclions require it.
AC 1-24 Access I Module 1 Creating a Database
~ Saving a Database
~ Unlike the Save buttons in other Office programs, the Save button on the Quick Access
Toolbar in Access does not save the active document (database). Instead, you use the
Save button to save the design of an Access object, such as a table (as you saw earlier),
or to save data sheet format changes, such as resizing columns. Access does not have or
need a button or option you can use to save the active database.
Access saves changes to the active database automatically when you change or
add a record or close the database. If your database is stored on a removable storage
device, such as a USB drive, you should never remove the device while the database file
is open. If you do, Access will encounter problems when it tries to save the database,
which might damage the database. Make sure you close the database first before
removing the storage device.
It is possible to save a database with a different name. To do so, you would click
the File tab to open Backstage view, and then click the Save As option. You save the
database in the default database format unless you select a different format, so click the
Save As button to open the Save As dialog box. Enter the new name for the database,
choose the location for saving the file, and then click Save. The database is saved with a
new name and is stored in the specified location.
Now that you've become fami liar with database concepts and Access, and created
the Lakewood database and the structures for the Visit and Billing tables, Donna
wants you to add records to the Visit table and work with the data stored in it to create
database objects including a query, form, and report. You'll complete these tasks in the
next session.
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any suppre-Ssed content does not mate rially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if sutlrequent rights restrictions require it.
Module 1 Creating a Database I Access AC 1-25
-
!:
w
>
w
a:::
1. A(n) _ _ _ _ is a single characteristic of a person, place, object, event,
or idea.
2. You connect the records in two separate tables through a(n) that
appears in both tables.
3. The whose values uniquely identify each record in a table, is called
a(n) w hen it is placed in a second table to form a relationship
between the two tab les.
4. The is the area of the Access window that lists al l the objects in a
database, and it is the main control center for opening and working w ith data-
base objects.
5. What is the name of the field that Access creates, by default, as the primary key
field for a new table in Datasheet view?
6. Which group on the Table Tools Fields tab contains the options you use to add
new fields to a table?
7. What are the two views you can use to create a table in Access?
8. Explain how the saving process in Access is different from saving in other Office
programs.
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any s uppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if s utlrequent rights restrictions require it.
AC 1-26 Access I Module 1 Creating a Database
The Microsoft Access Help button on the Help tab The Tell Me feature
opens the Access Help window, where you can allows you to search for
The Create tab provides nd information about Access commands and specie help by typing
options for creating features as well as instructions for using them. what you would like to do.
database objects including
tables, forms, and reports.
The options appear on the
tab grouped by object type.
Copyright 2020 Ccngage Learning. All Rights R~rvcd. May not be copied, scanned, or duplicated. in whole or in pan. Due to electronic right~. some third party content may be ~upprcssed frot11the cBook and/or cChaptcr{.s).
Editorial review has deemed that any s uppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if s ubsequent rights restrictions require it.
Module 1 Creating a Database 1Access AC 1-27
LJ -" ModtJt
Mlao ~ Cllss Module
.jYosullllask
RtPOrll MIOOS 8t Ccdt
The Report
Wlurd guid.,
'-------1 you through the
process of
creatin9 a report.
The Report tool places all
the elds from a selected
' - --1 table (or qvery} on • report,
making it the quickest way
to create a l'eport.
Opening a Database
w • Start Access and display the Recent screen in Backst age view.
u
zw • Click the name of the database you want to open in the list of recently opened
0::: databases.
w or
u.
w • Start Access and display the Recent screen in Backstage view.
0::: • In the navigation bar, click Open Other Files to display the Open screen.
• Click the Browse button to open the Open dialog box, and then navigate to the drive
and folder containing the database file you want to open.
• Click the name of the database file you want to open, and then click Open.
Copyright 2020 Ccn,gagc Learning. All Rights R~rvcd. May not be copied, 5eanncd, or duplicated, in whole or in pan. Due to electronic rights. some third party content may be suppressed fronthc cBook and/or cChaptcr{s).
Editorial review has deemed that any suppre-Ssed content does not materially affect the overnll learning experience. Cengage Learning reserves the right to remove additiooal content at any time if sutlrequent rights restrictions require it.
Module 1 Creating a Database JAoccss AC 1-29
Note that the Lakewood database contains 1\vo objects, the Billing and Visit tables
you created at the end of the previous session (see Figure 1- 17). The next step is for you
to open the Visit table to begil adding records.
_
~
- -
• Gill•
Ill .._ , • I II
..
,o\ •'P ;, . 15 • •
button for dosing
the table
You are now ready to begin adding records and are positioned in the first field
(VisitiD) of the fi rst record. Donna requests that you enter eight records into the Visit
table, as show in Figure 1- 19.
To which the Emperor adds the filial remark on his own account:
“That Her Majesty had acted in accordance with the admirable virtue
which always distinguished her, and that, in spite of his own wishes,
he was bound reverently to obey her orders in the matter.”
China’s complete and ignominious defeat by the Japanese forces
undoubtedly inflicted no small loss of prestige on the Manchu
Dynasty, and was a direct cause of the violent agitation of the
Southern Provinces for reform, which led in turn to the coup d’état
and to the Boxer rising. It is doubtful whether war could have been
avoided without even greater sacrifices and humiliation, and the
Empress Dowager showed her usual sagacity therefore in refraining
from expressing any opinion or taking any share of responsibility in
the decision taken by the Emperor. She knew, moreover, that, by the
action and advice of her Chief Eunuch, the Navy had for years been
starved in order to provide her with funds to rebuild and decorate the
Summer Palace, a fact of which some of China’s most distinguished
advisers were at that time unaware.
As Viceroy of the Metropolitan Province, Li Hung-chang was
generally blamed for advising the Court to maintain China’s
suzerainty over Corea by force of arms, but, speaking from personal
knowledge of this subject, we may state that, like many other
Ministers similarly situated, he hesitated until the very last moment
before taking risks which he knew to be enormous in both directions.
The documents upon which history might have been written with full
knowledge of the facts were unfortunately destroyed in the Viceroy’s
Yamên at Tientsin and in the Inspector-General of Customs’ quarters
at Peking, in 1900, so that the immediate causes of that disastrous
war will probably never be established with complete accuracy. Li
Hung-chang was aware that twice already Japan had been bought
off from a war of aggression against China, the first time (in 1874) by
payment of an indemnity, and again (in 1885) by admitting her to a
share in the control of Corea, a concession which had led directly to
the present crisis. He realised that even had he been willing to
surrender China’s rights over Corea (which were of no real
advantage to the Chinese Government) the concession might have
purchased peace for the time being, but it would certainly have led
before long to the loss of the Manchurian Provinces; just as certainly,
in fact, as the doom of those provinces was sealed in 1905, on the
day that China acquiesced in the terms of the Portsmouth Treaty.
Japan’s attack on China’s positions was diplomatically as
unjustifiable as the methods which she adopted in commencing
hostilities. Li Hung-chang was fully aware of the preparations that
Japan had been making for years, and equally aware of the
disorganised state of his own naval and military resources, but he
was surrounded by officials who, like the Manchus in 1900, were
convinced of China’s immense superiority, and he was assured by
the Chinese Resident in Corea (Yüan Shih-k’ai) that help would be
forthcoming from England in the event of Japan’s commencing
hostilities. There was no doubt of the British Government’s
sympathy, which was clearly reflected in the attitude and actions of
the Consul-General at Seoul.[48]
Chinese historians have openly accused Li Hung-chang of
instigating the Court and the Emperor to a war of aggression, and
the accusation has been generally credited abroad. The truth is, that
while Li was originally all in favour of sending a Chinese force to
suppress the Corean insurrection, he became opposed to taking any
steps that might lead to war with Japan, as soon as he realised that
war was Japan’s object; nevertheless, it is certain that, in the last
instance, he was persuaded against his better judgment by the
military enthusiasm of his German advisers, and that the sending of
the ill-fated “Kow-hsing” and her doomed crew to Corea was a step
which he authorised only after consultation with Peking and in full
knowledge of the fact that it meant war. No sooner had the “Kow-
hsing” been sunk, and the first military disasters of the campaign
reported, than he naturally endeavoured to minimise his own share
of responsibility in the matter.
Foreigners blamed him for making war on Japan, while his own
countrymen attacked him for betraying China to the Japanese, as
they subsequently attacked him for selling Manchuria to Russia. Tzŭ
Hsi had no great love for the Viceroy, although she admired his
remarkable intelligence and adroit methods: but when, after the war,
he was fiercely attacked by several of the Censors, and when she
found her own name associated with the blame imputed to him, she
loyally defended him, as was her wont. In 1895, a Censor named An
Wei-chün boldly blamed Her Majesty and the Viceroy for the
disasters which had overtaken China. He said:—
Tzŭ Hsi felt deeply the humiliation of her country’s defeat by the
Japanese, a race which, as Chinese historians never fail to remind
themselves, took its first lessons in civilisation and culture from
Chinese scholars and artists. Anxious at all costs to avoid another
invasion of Chihli by the conquerors, she approved the Treaty of
Peace, especially when assured by Li Hung-chang that Russia and
her Continental allies would not allow Japan to annex any portion of
the Manchurian Provinces. As above stated, she declined to permit
Li to be made a scapegoat either by her chagrined Manchu kinsmen
or by his fierce critics in the south, for she recognised the difficulty of
his position, and the fact that he was not directly responsible for the
deplorable condition of China’s defences. But, woman-like, she had
to blame someone for the disasters that had deprived her and her
capital of festivities whose splendour should have gone down,
making her name glorious, to all posterity; and it was not surprising,
therefore, if she heaped reproaches on the Emperor for entering
upon so disastrous a war without her full knowledge and consent. It
was at this time that began the estrangement which thenceforward
gradually grew into the open hostility and secret plottings of 1898,
the long bitterness between Tzŭ Hsi and her nephew which was to
divide the Palace into camps of strife, and to cease only with their
death. From this time also, as they aver who were in close touch with
the life of the Court, the Emperor’s Consort,[51] Tzŭ Hsi’s niece,
became openly alienated from him, and their relations grew more
severely strained as his reform tendencies developed and took
shape. From 1894 to 1896 there was no noticeable change in the
attitude of the Emperor to his august aunt, nor any diminution of his
respectful attentions, but the man in the street knew well, as he
always knows in China, of the rift in the lute, and when, in 1896, the
Emperor’s mother (Tzŭ’s sister) died, it was realised that the last
bond of amity and possible reconciliation between Kuang-Hsü and
the Empress Dowager had been severed.
XII
THE REFORM MOVEMENT OF 1898