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.

Slides:



Advertisements
Similar presentations
Microsoft Access.
Advertisements

MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
1 Chapter 1 & 2 Relational Databases and Queries CS101 WVU.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Access Lesson 2 Creating a Database
Microsoft Excel 2010 Chapter 7
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying a Database.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
SUNY Morrisville-Norwich Campus-Week 10 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
BA271 Week 7 Lecture Building the database Dave Sullivan.
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
Querying a Database Microsoft Office Access 2003.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Business Computer Information Systems Microsoft Office XP Access Review Lessons 1 through 5.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
Chapter 3 Maintaining a Database
ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.
Microsoft Access 2000 Creating Tables and Relationships.
Building The Database Chapter 2
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
Access Tutorial 2 Building a Database and Defining Table Relationships
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 Office 2013 Access Building a Database and Defining Table Relationships.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
Lesson 2.  To help ensure accurate data, rules that check entries against specified values can be applied to a field. A validation rule is applied to.
® Microsoft Office 2010 Access Tutorial 2 Building a Database and Defining Table Relationships.
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,
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
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.
Using Microsoft Access 56:150 Information System Design.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create and Open a Database Create and Open a Database.
® 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.
® Microsoft Office 2010 Integrating Word, Excel, Access, and PowerPoint.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
Unit 5, Lesson 1 Working with Databases. Objectives Identify the parts of the Access screen. Identify the parts of the Access screen. Understand the purpose.
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.
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.
® Microsoft Office 2010 Integrating Word, Excel, Access, and PowerPoint.
Microsoft Excel 2003 Illustrated Complete Data with Other Programs Exchanging.
Microsoft FrontPage 2003 Illustrated Complete Integrating a Database with a Web Site.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
© 2001 ComputerPREP, Inc. All rights reserved. Access 2000: Module II.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
FIRST COURSE Integration Tutorial 2 Integrating Word, Excel, and 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.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Microsoft ® Office 2007 PowerPoint Lecture to Accompany.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.
Access Tutorial 2 Building a Database and Defining Table Relationships
and Defining Table Relationships
MODULE 7 Microsoft Access 2010
Access Lesson 2 Creating a Database
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Presentation transcript:

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 who faithfully plants seeds in the Spring, who reaps a harvest in the Autumn.” —BC Forbes

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 2 Level 2 Objectives: Populating and Relating the Database Tables Import data into a database Set a table’s primary key Create foreign keys Create one-to-many and many-to-many relationships Use a subdatasheet to view related records in a table

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 3 Populating the Database Tables Populating database  Load tables with data  Enter data in datasheets  Import data

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 4 Copying Records from One Table to Another Import existing data from another table  Table structure must be identical  Select all of records  Click copy button  Click edit on menu bar  Click paste append Correct errors with AutoNumber field record numbers that should be incremented sequentially  Delete AutoNumber field from table  Add it back

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 5 Importing Data from an Excel Workbook Can import data and create table at same time  Review contents of workbook to understand how it is arranged If column heading names comply with rules for naming fields in access  Access uses them as field names data imported If column headings absent or do not comply  Access assigns generic field names

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 6 Importing Data from an Excel Workbook (continued) Access can import most data from worksheet  Not graphics  Formulas converted to numbers  Hyperlinks imported as text data Usually entire worksheet imported  Can import range of data

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 7 Import Spreadsheet Wizard

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 8 Setting a Primary Key Field

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 9 Working with Primary and Foreign Keys Primary key and foreign key counterparts  Must have same data type and field size  Fields must contain identical values Primary key value must exist before entering corresponding record  If referential integrity set User cannot enter null value into primary key field Required property  Nonprimary key field  Ensure that users enter value into field

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 10 Working with Primary and Foreign Keys (continued) Works to make data retrieval faster  Access creates index for primary key field Index  List maintained by database  Associates field values in indexed field with records that contain field values

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 11 Creating an Index Increase speed at which access searches Open table in design view  Select field to index  Click indexed property Create index for any field  Except fields of type Memo Hyperlink OLE object

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 12 Creating an Index for a Nonprimary Key Field

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 13 Creating an Index View indexes created in table  Click indexes button Create indexes for as many fields as necessary to optimize searches in database Records indexed when table saved Updated automatically as records added deleted, or changed As database grows  Indexes might slow down database

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 14 Creating an Index (continued) Increases size of database Slows down database  Must update index as users add change and delete records Add indexes as needed  When improved performance necessary Delete indexes to  Increase speed  Reduce file size

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 15 Creating One-to-Many Relationships Between Tables Open relationships window  Click relationships button Relationship has certain properties  Type One-to-many One-to-one Many-to-many  Attributes Specify how to manage changes when records updated or deleted

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 16 Relationships Window

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 17 Edit Relationships Dialog Box

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 18 Creating a Many-to-Many Relationship Between Tables Use junction table to create many-to-many relationship Create 1:M relationships between both tables and junction table

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 19 Using a Subdatasheet to View Related Records After importing data into database  Good idea to open each table in datasheet view  Check data for problems Plus box appears for relationships  Click to view subdatasheet

XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 20 Level 2 Summary Import data from  Other Access tables  Excel Index  Used to aid searches Create relationships using Relationships Window