Working with Multiple Tables in Microsoft Access The Access Workbench: Section Two DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition.

Slides:



Advertisements
Similar presentations
Copyright © 2008 Pearson Prentice Hall. All rights reserved.1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2.1: Relational Databases.
Advertisements

Database Design Chapter Five DATABASE CONCEPTS, 6th Edition
MS-Access XP Lesson 2. Input Mask Property 1.Field : Phone No Data Type : Number Input Mask : Character 0 represent a single digit and phone.
INSERT BOOK COVER 1Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast,
Database Administration in Microsoft Access The Access Workbench: Section Six DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2: Relational Databases.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 10 Database Application Design.
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
QUERYING A DATABASE By: Dr.Ennis-Cole. OBJECTIVES: Learn how to use the Query window in Design view Create, run and Save queries Define a relationship.
Getting Started with Microsoft Visio 2010 Appendix G DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
Web Database Processing Using Microsoft Access The Access Workbench: Section Seven DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition.
Getting Started with Microsoft Access The Access Workbench: Section One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
Microsoft Access – Tutorial 1 if you need to review general Microsoft Office procedures such as: menus toolbars task panes files help printing please go.
Define Table Relationships—1 of 3 One of the most powerful features of a relational database management system, such as Access, is its ability to define.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
An INTRODUCTION to MICROSOFT ACESS 2000 By Dr. Ennis-Cole.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
Microsoft Access – Tutorial 3
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: Finding Your Way Through.
Working with Queries in Microsoft Access The Access Workbench: Section Three DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition.
Microsoft Access – Tutorial 1 if you need to review general Microsoft Office procedures such as: menus toolbars task panes files help printing please go.
Chapter 6 Advanced Report Techniques
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the Next.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
® Microsoft Office 2010 Access Tutorial 2 Building a Database and Defining Table Relationships.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T6: Basic Skills and Tools Using Access 2010 Business Driven Technology.
Getting Started Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Microsoft Access Intro Class 6 Relationships.
Copyright 2002, Paradigm Publishing Inc. CHAPTER 12 BACKNEXTEND 12-1 LINKS TO OBJECTIVES Mail Merge Concepts Mail Merge Concepts Mail Merge Wizard Mail.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
© 2002 by Prentice Hall 1 Database Processing with Microsoft Access David M. Kroenke Database Concepts 1e Appendix A.
BUSINESS DRIVEN TECHNOLOGY Plug-In T5 Touring Access.
Relationships in Microsoft Access The Access Workbench: Section Five DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Creating Related Tables Creating Related Tables Determining.
1 After completing this lesson, you will be able to: Change the format of a table. Sort records in a table. Find records in a table Use filters with a.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
1 Database Systems Introduction to Microsoft Access Part 2.
Chapter 9 The Microsoft Access 2007 Window © 2007 Lawrenceville Press Slide 1.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
Database Processing with Microsoft Access Appendix DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
1 CHƯƠNG 4 Creating Relational Databases Understanding Table Relationships Example: This database tracks customers and their orders in two separate.
Microsoft Access Database Creation and Management.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
Exploring Microsoft Access Chapter 5 One-to-Many Relationships: Subforms and Multiple Table Queries.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
Access Test Questions Test Date: 05/05/16. Chapter 1 (Lynda.com) Question 1 An access database uses five main components (database objects). Which is.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Microsoft ® Office 2007 PowerPoint Lecture to Accompany.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
CSIS 115 Database Design and Applications for Business
Microsoft Access – Tutorial 3
The Relational Model Chapter Two DATABASE CONCEPTS, 3rd Edition
Getting Started Chapter One DATABASE CONCEPTS, 5th Edition
Exploring Microsoft® Office 2016 Series Editor Mary Anne Poatsy
Getting Started Chapter One DATABASE CONCEPTS, 4th Edition
Relationships While we are on the subject of Relationships, let’s take a quick look at them.
Presentation transcript:

Working with Multiple Tables in Microsoft Access The Access Workbench: Section Two DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-2 Section Objectives  Learn how to use Microsoft Access to:  Illustrate modification problems  Create relationships between tables  Create multiple-table forms  Create multiple-table reports

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-3 Illustrating Modification Problems When a table contains data from multiple themes, it is subject to modification problems This topic was discussed in detail in Chapter 1 We will use an Access database to illustrate a modification problem The data is in a provided database named WMCRM-Combined-Data.mdb

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-4 CONTACT Data CustomerIDDateTypeRemarks 17/7/2005PhoneGeneral interest in a Gaea. 17/7/2005 Sent general information. 17/12/2005PhoneSet up an appointment. 17/14/2005MeetingBought a HiStandard. 37/19/2005PhoneInterested in a SUHi, set up an appointment. 17/21/2005 Sent a standard follow-up message. 47/27/2005PhoneInterested in a HiStandard, set up an appointment. 37/27/2005MeetingBought a SUHi. 48/2/2005MeetingTalked up to a HiLuxury. Customer bought one. 38/3/2005 Sent a standard follow-up message. 48/10/2005 Sent a standard follow-up message. 58/15/2005PhoneGeneral interest in a Gaea.

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-5 Security Warning Each time you open an existing database, the Security Warning dialog box will be displayed–as long as you are familiar with the database file, Click the Open button

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-6 Illustrating Modification Problems: The CUSTOMER_CONTACT Table

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-7 Illustrating Modification Problems: The Customer-Contact Data Input Form All fields from the CUSTOMER_CONTACT table appear on the form Form browsing buttons

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-8 Illustrating Modification Problems: The Wallingford Motors Customer Contact Report All contact data for each customer is grouped together and sorted by date

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-9 Illustrating Modification Problems: Form with the Updated Address The address has been updated Next record button

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-10 Illustrating Modification Problems: Updated Wallingford Motors Customer Contact Report A modification problem has occurred. Not all records were updated with the new address, and the database records are now inconsistent.

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-11 Working with Multiple Tables: WMCRM Database Schema CUSTOMER (CustomerID, LastName, FirstName, Address, City, State, ZIP,Phone, Fax, ) CONTACT (ContactID, CustomerID, Data, Type, Remarks) CustomerID in CONTACT must exist in CustomerID in CUSTOMER

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-12 Working with Multiple Tables: CONTACT Table Column Characteristics Column NameTypeKeyRequiredRemarks ContactIDAutoNumberPrimary KeyYesSurrogate Key CustomerIDNumberForeign KeyYesLong Integer DateDate/TimeNoYesShort Date TypeText (10)NoYesAllowed values are Phone, Fax, and Meeting RemarksMemoNo CONTACT

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-13 Working with Multiple Tables: Setting the Date Format Select the Short Date date format from the drop-down list

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-14 Working with Multiple Tables: Opening the Relationships Window Click Tools, then click Relationships…

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-15 Working with Multiple Tables: Adding Tables to the Relationships Window Select a table name, then click the Add button to add the table to the Relationships window

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-16 Working with Multiple Tables: Creating a Relationship To create a relationship between two tables: –In the Relationships window, drag a primary key column and drop it on top of the corresponding foreign key column

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-17 Working with Multiple Tables: The Table Objects in the Relationships Window The table objects have been enlarged and rearranged into the arrangement shown here Click, drag and drop the CUSTOMER CustomerID field onto the CONTACT CustomerID field

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-18 Working with Multiple Tables: The Edit Relationships Dialog Box Click the Enforce Referential Integrity check box, and then click the Create button to create the relationship

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-19 Working with Multiple Tables: The Completed Relationship The new relationship now appears in the Relationships window diagram—note that the line connects the related fields

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-20 Working with Multiple Tables: Data in the CONTACT Table

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-21 Working with Multiple Tables: The Completed Form for CUSTOMER and CONTACT Data Buttons for scrolling through the CONTACT records for this customer Buttons for scrolling through the CUSTOMER records

KROENKE and AUER - DATABASE CONCEPTS (3 rd Edition) © 2008 Pearson Prentice Hall AW-2-22 Working with Multiple Tables: The Wallingford Motors Customer Contacts Report Data for each customer List of contact data for each customer

Working with Multiple Tables in Microsoft Access End of Presentation on The Access Workbench: Section Two DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition