XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.

Slides:



Advertisements
Similar presentations
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Advertisements

Microsoft Access.
INTRODUCTORY MICROSOFT ACCESS Lesson 1 – Access Basics
Jeopardy Objects Navigation Buttons True/False Parts of a Report Vocabulary Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final.
Exploring Microsoft Access 2003 Chapter 6 Many-to-Many Relationships: A More Complex System.
Exploring Microsoft Access 2003 Chapter 1 Introduction to Microsoft Access: What Is A Database?
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying a Database.
Querying a Database Microsoft Office Access 2003.
Management Information Systems MS Access 2003 By: Mr. Imdadullah Lecturer, Department of M.I.S. College of Business Administration, KSU.
Microsoft Access II Information Technology Services User Services User Training & Support.
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.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.
Microsoft Access Intro Class 1 Database Concepts.
Microsoft Access Lesson 3
1 Microsoft Access 2002 Tutorial 3 – Querying a Database.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 1 – Access Basics.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 3 Objectives: Identifying and Eliminating Database.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Preparing to Automate Data Management
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
Exploring Microsoft Access 97 Chapter 1 Introduction to Microsoft Access: What Is A Database? Office graphic copyright by Microsoft Corp.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 9 1 Microsoft Office Access 2003 Tutorial 9 – Using Action Queries, and Defining Table Relationships.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 9 – Building Links,
Office Management Tools II Ms Saima Gul.  When you create your tables, you should assign each table a primary key—one or more fields whose contents are.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Access Module 1 Workshop 2 Tables, Keys, and Relationships Series Editor Amy Kinser.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Key Applications Module Lesson 21 — Access Essentials
CIS 250 Advanced Computer Applications Introduction to Access.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Preparing To Automate Data Management Chapter 1 “You.
Access Project 3 Notes. Introduction Maintaining the Database  Modifying the data to keep it up-to-date Restructure the Database  To change the database.
Microsoft Access Intro Class 6 Relationships.
® Microsoft Access 2010 Tutorial 9 Using Action Queries and Advanced Table Relationships.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Preparing To Automate Data Management Chapter 1 “You.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
® Microsoft Office 2013 Access Creating a Database.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Creating Related Tables Creating Related Tables Determining.
Exploring Microsoft Access Chapter 6 Many-to-Many Relationships: A More Complex System.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Introduction to Database using Microsoft Access 2013 Part 7 November 19, 2014.
Microsoft Access 2013 ®® Tutorial 9 Using Action Queries and Advanced Table Relationships.
XP Chapter 4 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Collecting Data for Well-Designed Forms Chapter 4 “Making.
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
1 CSE 2337 Introduction to Data Management Access Book – Ch 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.
Microsoft Access 2010 Chapter 3 Maintaining a Database.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
Relational Theory and Design
Chapter 4 Constraints Oracle 10g: SQL. Oracle 10g: SQL 2 Objectives Explain the purpose of constraints in a table Distinguish among PRIMARY KEY, FOREIGN.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Microsoft FrontPage 2003 Illustrated Complete Integrating a Database with a Web Site.
1 CHƯƠNG 4 Creating Relational Databases Understanding Table Relationships Example: This database tracks customers and their orders in two separate.
1 ER Modeling BUAD/American University Mapping ER modeling to Relationships.
IST 220 – Intro to Databases Lecture 2 Touring Microsoft Access.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
Exploring Microsoft Access Chapter 5 One-to-Many Relationships: Subforms and Multiple Table Queries.
Microsoft Office Access 2010 Lab 3
IST 220 – Intro to Databases
CIS 155 Table Relationship
Microsoft Office Illustrated Fundamentals
Microsoft Access 2003 Illustrated Complete
Presentation transcript:

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table Relationships Understand relational database objects and concepts Create table relationships Understand referential integrity

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 2 Understanding Relational Database Objects Users can view data in tables by:  Opening table  Creating other objects Four main objects in database  Tables  Queries  Forms  Reports

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 3 Tables Data in relational database stored in one or more tables View data in table  Open it and scroll through records three other main database objects used to display data normally

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 4 Queries Query  Question asked about data stored in database Query results  Look similar to table  Fields displayed in columns  Records displayed in rows

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 5 Queries (continued) Select query  Most commonly used query  Data selected from table on which query based Action query  Performs action on table  Select specific records in table and update them Crosstab query  Performs calculations on values in field and displays results in datasheet

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 6 Forms Used to view add delete, update and print records in database Based on table or query Interface more attractive than table datasheet Customize form’s appearance with instructions and command buttons Switchboard  Form displayed when database opened  Provides controlled method for users to open objects in database

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 7 Form Based on a Table

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 8 Reports Formatted presentation of data from table or query Created as printout or to be viewed on screen Data displayed by report usually based on query Dynamic  Reflect latest data from object Cannot be used to modify data

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 9 Accounts Receivable Report

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 10 Other Database Objects Page  Also called data access page  Web page  View and interact with data stored in access database  Html document stored outside database Macro  Set of instructions  Automate certain database tasks  Usually automates simple tasks

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 11 Other Database Objects (continued) Module  Contains instructions to automate database task  Written in Visual Basic for Applications (VBA)  Performs more sophisticated actions than macro

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 12 Understanding Relational Database Concepts Flat file database  Simple database  Contains single table of information Relational database  Contains multiple tables to store related information Common field  Field that appears in two or more tables and contains identical data to relate tables  Primary key in first table  Foreign key in second table

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 13 Creating Table Relationships Take advantage of interrelated objects Goal in good database design  Create separate tables for each entity  Ensure each table has primary key  Use common field to relate tables Relate two (or more) tables  Query them as though they are one big table Join  Specifies relationship between tables and properties of relationship

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 14 One-to-Many Relationships Abbreviated as 1:M One record in first table matches zero one or many records in related table Primary table  One side Related table  Many side

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 15 One-to-Many Relationship Between Customers and Prescriptions

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 16 One-to-One Relationships Abbreviated as 1:1 Exists when each record in one table matches exactly one record in related table

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 17 One-to-One Relationship Between Physical and Billing Addresses

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 18 Many-to-Many Relationships Abbreviated as M:N Each record in first table matches many records in second table Each record in second table matches many records in first table Junction table

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 19 Many-to-Many Relationship Between Employees and Classes

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 20 Understanding Referential Integrity Null value  Field does not contain any value Entity integrity  Guarantee that there are no duplicate records in table  Each record unique  No primary key field contains null values Referential integrity  If foreign key in one table matches primary key in second table  Values in foreign key must match values in primary key

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 21 Understanding Referential Integrity (continued) When database does not enforce referential integrity  Problems occur that lead to inaccurate and inconsistent data Orphaned  No longer match between primary key in primary table and foreign keys in related table

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 22 Referential Integrity Errors

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 23 Overriding Referential Integrity Might want to override referential integrity  Intentionally change primary key  Delete parent record Cascade updates  Change primary key value so that DBMS automatically updates appropriate foreign key values in related table Cascade deletes

XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 24 Level 2 Summary Main database objects:  Table  Query  Form  Report Relationship types:  One-to-many  One-to-one  Many-to-many