© Paradigm Publishing, Inc. 1. 2 Access 2010 Level 1 Unit 1Creating Tables and Queries Chapter 2Creating Relationships between Tables.

Slides:



Advertisements
Similar presentations
Information Systems Technology Ross Malaga B Copyright © 2005 Prentice Hall, Inc. B-1 WORKING WITH DATABASES.
Advertisements

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Introduction to XHTML Programming the World Wide Web Fourth edition.
Getting Started with Microsoft Office 2007
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
BASIC SKILLS AND TOOLS USING ACCESS
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
The Reinberger Childrens Library Center Step-by-step instructions for capturing a MARC record and adding a 658 Tag to a record.
Tutorial 10 – Managing Long Documents
Tutorial 3 – Creating a Multiple-Page Report
Tutorial 9 – Creating On-Screen Forms Using Advanced Table Techniques
XP New Perspectives on Microsoft Office Word 2003 Tutorial 6 1 Microsoft Office Word 2003 Tutorial 6 – Creating Form Letters and Mailing Labels.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Excel PivotTable List Feature Creating a PivotTable List Web Page Using Excel.
Microsoft Access 2007 Advanced Level. © Cheltenham Courseware Pty. Ltd. Slide No 2 Forms Customisation.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Windows XP Project An Introduction to Microsoft Windows XP and Office 2003.
The Advantage Series © 2004 The McGraw-Hill Companies, Inc. All rights reserved Working with Access Microsoft Office Access 2003 Chapter 1.
Excel Functions. Part 1. Introduction 2 An Excel function is a formula or a procedure that is performed in the Visual Basic environment, outside the.
Information Systems Today: Managing in the Digital World
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
Copyright © 2008 Pearson Prentice Hall. All rights reserved.1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2.1: Relational Databases.
Creating Tables in a Web Site
Chapter 7 © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey A. Hoffer, V. Ramesh, Heikki Topi.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
Access Manual 4 By Elham S.Khorasani Ismail Guneydas Dhawala Kovuri.
Microsoft Office Illustrated Fundamentals Unit K: Working with Data.
Microsoft Access.
Vanderbilt Business Objects Users Group 1 Reporting Techniques & Formatting Beginning & Advanced.
Introducing WebDewey 2.0. Introducing WebDewey 2.0.
Access Tables 1. Creating a Table Design View Define each field and its properties Data Sheet View Essentially spreadsheet Enter fields You must go to.
Well-Being Icon Refer to Slide 2 for instructions on how to view the full-screen slideshow.Slide 2.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Office 2003 Integration Integrating Office 2003 Applications and the World Wide Web.
© Paradigm Publishing, Inc Excel 2013 Level 1 Unit 2Enhancing the Display of Worksheets Chapter 8 Adding Visual Interest to Workbooks.
Benchmark Series Microsoft Excel 2013 Level 2
© 2012 National Heart Foundation of Australia. Slide 2.
AS ICT Building MS-Access Databases. Creating a Combo Box Drop Down List 1.When creating a Field requiring a Drop Down list in a Table, select the Lookup.
Macromedia Dreamweaver MX 2004 – Design Professional Dreamweaver GETTING STARTED WITH.
INTRODUCTORY MICROSOFT WORD Lesson 7 – Working With Documents
25 seconds left…...
Benchmark Series Microsoft Excel 2010 Level 1
Analyzing Genes and Genomes
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® PowerPoint 2010 © 2011 The McGraw-Hill Companies,
Energy Generation in Mitochondria and Chlorplasts
© Paradigm Publishing, Inc Access 2010 Level 2 Unit 2Advanced Reports, Access Tools, and Customizing Access Chapter 8Integrating Access Data.
Benchmark Series Microsoft Excel 2013 Level 2
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 2Managing and Integrating Data and the Excel Environment Chapter 6Protecting and Sharing Workbooks.
Benchmark Series Microsoft Excel 2010 Level 1
Benchmark Series Microsoft Excel 2013 Level 2
Benchmark Series Microsoft Access 2010 Level 1
Chapter 1 Databases and Database Objects: An Introduction
© Paradigm Publishing, Inc Access 2010 Level 2 Unit 1Advanced Tables, Relationships, Queries, and Forms Chapter 2Building Relationships and Lookup.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
Chapter 3 Maintaining a Database
© Paradigm Publishing, Inc Access 2010 Level 2 Unit 1Advanced Tables, Relationships, Queries, and Forms Chapter 3Advanced Query Techniques.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Creating Related Tables Creating Related Tables Determining.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
Microsoft Access 2000 Modifying Tables, Creating Forms and Viewing Data.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
MODULE 7 Microsoft Access 2010
Relationships While we are on the subject of Relationships, let’s take a quick look at them.
Presentation transcript:

© Paradigm Publishing, Inc. 1

2 Access 2010 Level 1 Unit 1Creating Tables and Queries Chapter 2Creating Relationships between Tables

© Paradigm Publishing, Inc. 3 Creating Relationships between Tables Create Related Tables CHECKPOINT 1 Create a One-to-One Relationship Display Related Records in a Subdatasheet CHECKPOINT 2 Quick Links to Presentation Contents

© Paradigm Publishing, Inc. 4 Create Related Tables Generally, a database management system fits into one of two categorieseither a file management system (also sometimes referred to as a flat file database) or a relational database management system.

© Paradigm Publishing, Inc. 5 Create Related Tables…continued Taking time to plan a database is extremely important. Creating a database with related tables takes even more consideration. You need to determine how to break down the required data and what tables to create to eliminate redundancies.

© Paradigm Publishing, Inc. 6 Create Related Tables…continued Along with deciding on the necessary tables for a database, you also need to determine the relationship between tables. The ability to relate, or join, tables is what makes Access a relational database system. database diagram

© Paradigm Publishing, Inc. 7 Create Related Tables…continued When a new record is added to a table, Access checks to ensure that there is no existing record with the same data in the primary key. If there is, Access displays an error message indicating there are duplicate values and will not allow the new record to be saved. When adding a new record to a table, the primary key field cannot be left blank. Access expects a value in each record in the table and this is referred to as entity integrity.

© Paradigm Publishing, Inc. 8 Create Related Tables…continued To display a table in Design view: 1.Open the desired table. 2.Click the View button in the Views group in the Home tab. View button

© Paradigm Publishing, Inc. 9 Create Related Tables…continued To add or remove a primary key from a field: 1.Click the desired field in the Field Name column. 2.Click the Table Tools Design tab. 3.Click the Primary Key button in the Tools group. Primary Key button

© Paradigm Publishing, Inc. 10 Create Related Tables…continued primary key and associated foreign key Typically, a primary key field in one table becomes the foreign key field in a related table.

© Paradigm Publishing, Inc. 11 Create Related Tables…continued In Access, one table can be related to another, which is generally referred to as performing a join. For example, in Project 1b, you will create a relationship between the Suppliers table and the Products table. The relationship you establish will ensure that a supplier number cannot be entered in the Products table without first being entered in the Suppliers table. This type of relationship is called a one-to-many relationship, which means that one record in the Suppliers table will match zero, one, or many records in the Products table.

© Paradigm Publishing, Inc. 12 Create Related Tables…continued To create a one-to-many relationship: 1.Open the desired database. 2.Click the Database Tools tab. 3.Click the Relationships button in the Relationships group. continues on next slide… Relationships button

© Paradigm Publishing, Inc. 13 Create Related Tables…continued 4.At the Show Table dialog box, click the first table name. 5.Click the Add button. 6.Repeat Steps 4 and 5 until all desired table names have been added. 7.Click the Close button. continues on next slide… Show Table dialog box

© Paradigm Publishing, Inc. 14 Create Related Tables…continued 8.At the Relationships window, drag the common field to the related table. continues on next slide… Relationships window

© Paradigm Publishing, Inc. 15 Create Related Tables…continued 9.At the Edit Relationships dialog box, check to make sure the correct field name displays and the relationship type displays as One-To- Many. 10.Specify the relationship options. 11.Click the Create button. Edit Relationships dialog box

© Paradigm Publishing, Inc. 16 Create Related Tables…continued Choose Enforce Referential Integrity at the Edit Relationships dialog box to ensure that the relationships between records in related tables are valid. Referential integrity can be set if the field from the primary table is a primary key and the related fields have the same data type.

© Paradigm Publishing, Inc. 17 Create Related Tables…continued join line In the image below, the Suppliers table displays with a black line attached along with the number 1 (signifying the one side of the relationship). The black line is connected to the Products table along with the infinity symbol (signifying the many side of the relationship).

© Paradigm Publishing, Inc. 18 Create Related Tables…continued To print relationships: 1.Click the Database Tools tab. 2.Click the Relationships button. 3.Click the Relationship Report button in the Tools group. continues on next slide… Relationship Report button

© Paradigm Publishing, Inc. 19 Create Related Tables…continued 4.Click the Print button. 5.Click OK. 6.Click the Close button. Print button

© Paradigm Publishing, Inc. 20 Create Related Tables…continued To display the Show Table dialog box: 1.Click the Show Table button in the Relationships group. Show Table button

© Paradigm Publishing, Inc. 21 Create Related Tables…continued To edit a relationship: 1.Click the Database Tools tab. 2.Click the Relationships button in the Relationships group. 3.Click the Edit Relationships button in the Tools group. 4.Make the desired changes at the Edit Relationships dialog box. 5.Click OK. Edit Relationships dialog box

© Paradigm Publishing, Inc. 22 Create Related Tables…continued To delete a relationship: 1.Click the Database Tools tab. 2.Click the Relationships button in the Relationships group. 3.Right-click on the black line connecting the related tables. 4.Click the Delete option. 5.Click Yes. Delete option

© Paradigm Publishing, Inc. 23 1)Access is this type of database management system. a.flat file b.relational c.directional d.organizational 1)Access is this type of database management system. a.flat file b.relational c.directional d.organizational 3)The infinity symbol signifies this side of the relationship. a.many b.one c.two d.three 3)The infinity symbol signifies this side of the relationship. a.many b.one c.two d.three 2)Typically, a primary key field in one table becomes this key field in a related table. a.figure b.international c.foreign d.secondary 2)Typically, a primary key field in one table becomes this key field in a related table. a.figure b.international c.foreign d.secondary 4)To edit a relationship, click the Relationships button in this tab. a.Home b.Database Design c.Database Tools d.Create 4)To edit a relationship, click the Relationships button in this tab. a.Home b.Database Design c.Database Tools d.Create Next Question Next Slide Answer

© Paradigm Publishing, Inc. 24 Create a One-to-One Relationship You can create a one-to-one relationship between tables in which each record in the first table matches only one record in the second table and one record in the second table matches only one record in the first table. one-to-one relationship

© Paradigm Publishing, Inc. 25 Create a One-to-One Relationship…continued To create a one-to-one relationship: 1.Open the desired database. 2.Click the Database Tools tab. 3.Click the Relationships button in the Relationships group. continues on next slide… Relationships button

© Paradigm Publishing, Inc. 26 Create a One-to-One Relationship…continued 4.At the Show Table dialog box, click the first table name. 5.Click the Add button. 6.Repeat Steps 4 and 5 until all desired table names have been added. 7.Click the Close button. continues on next slide… Show Table dialog box

© Paradigm Publishing, Inc. 27 Create a One-to-One Relationship…continued 8.At the Relationships window, drag the common field to the related table. continues on next slide… Relationships window

© Paradigm Publishing, Inc. 28 Create a One-to-One Relationship…continued 9.At the Edit Relationships dialog box, check to make sure the correct field name displays and the relationship type displays as One-To-One. 10.Specify the relationship options. 11.Click the Create button. Edit Relationships dialog box

© Paradigm Publishing, Inc. 29 Display Related Records in a Subdatasheet When a relationship is established between tables, you can view and edit records in related tables with a subdatasheet. subdatasheet

© Paradigm Publishing, Inc. 30 Display Related Records in a Subdatasheet…continued To display a subdatasheet: 1.Click the expand indicator at the left side of the desired record. 2.Click the desired table at the Insert Subdatasheet dialog box. Insert Subdatasheet dialog box

© Paradigm Publishing, Inc. 31 Display Related Records in a Subdatasheet…continued To display subdatasheets for all records: 1.Click the More button in the Records group in the Home tab. 2.Point to Subdatasheet. 3.Click the Expand All option. Expand All option

© Paradigm Publishing, Inc. 32 Display Related Records in a Subdatasheet…continued To remove a subdatasheet: 1.Click the More button in the Records group in the Home tab. 2.Point to Subdatasheet. 3.Click the Remove option. Remove option

© Paradigm Publishing, Inc. 33 1)This type of relationship is used when you want to break a large table into two smaller tables. a.many-to-many b.many-to-one c.one-to-many d.one-to-one 1)This type of relationship is used when you want to break a large table into two smaller tables. a.many-to-many b.many-to-one c.one-to-many d.one-to-one 3)To display a subdatasheet, click this preceding the record. a.view indicator b.expand indicator c.collapse indicator d.remove indicator 3)To display a subdatasheet, click this preceding the record. a.view indicator b.expand indicator c.collapse indicator d.remove indicator 2)Add tables to the Relationships window at this dialog box. a.Show Table b.Show Relationships c.Edit Relationships d.Edit Table 2)Add tables to the Relationships window at this dialog box. a.Show Table b.Show Relationships c.Edit Relationships d.Edit Table 4)To display all subdatasheets, start by clicking this button in the Home tab. a.View b.Expand c.Display d.More 4)To display all subdatasheets, start by clicking this button in the Home tab. a.View b.Expand c.Display d.More Next Question Next Slide Answer

© Paradigm Publishing, Inc. 34 Creating Relationships between Tables Define a primary key in a table Create a one-to-many relationship Specify referential integrity Print, edit, and delete relationships Create a one-to-one relationship View and edit a subdatasheet Summary of Presentation Concepts