Microsoft Access Lecture -13- By lec. (Eng.) Hind Basil University of Technology Department of Materials Engineering 1.

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

1 Chapter 1 & 2 Relational Databases and Queries CS101 WVU.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2: Relational Databases.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying a Database.
With Microsoft ® Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
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.
With Microsoft Access 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
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.
ACCESS TABLES & QUERIES. OBJECTIVES Create tables Establish table relationships Create queries Specify criteria for different data types Compact & Repair.
Microsoft Access Database software. What is a database? … a database is an organized collection of data. A collection of data of similar information compiled.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall1 Exploring Microsoft Office Access 2007 Committed to Shaping the Next Generation of.
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.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2010.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: Finding Your Way Through.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: Finding Your Way Through.
Copyright © 2008 Pearson Prentice Hall. All rights reserved.1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2: Relational Databases.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2: Relational.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: Finding Your.
Access Tutorial 2 Building a Database and Defining Table Relationships
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
DAY 14: ACCESS CHAPTER 1 Tazin Afrin October 03,
® 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.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast, Mary Anne Poatsy Chapter.
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.
© 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,
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Access Module 1 Workshop 2 Tables, Keys, and Relationships Series Editor Amy Kinser.
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
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.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2007.
Microsoft Access 2013 Design and Implement Powerful Relational Databases Chapter 6.
1 Database Systems Introduction to Microsoft Access Part 2.
Maintaining a Database Access Project 3. 2 What is Database Maintenance ?  Maintaining a database means modifying the data to keep it up-to-date. This.
Microsoft Access 2010 Chapter 3 Maintaining a Database.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
Access Chapter 1: Intro to Access Objectives Navigate among objects in Access database Difference between working in storage and memory Good database file.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Microsoft Access Database Creation and Management.
DAY 14: ACCESS CHAPTER 1 RAHUL KAVI October 8,
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.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
1 Finding Your Way Through a Database Exploring Microsoft Office Access.
Access Tutorial 2 Building a Database and Defining Table Relationships
Exploring Microsoft Office Access 2007
Exploring Microsoft Office Access
Exploring Microsoft Office Access 2007
Exploring Microsoft Office Access 2007
GO! with Microsoft® Access e
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Introduction to Access
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall.
Exploring Microsoft Office Access
Presentation transcript:

Microsoft Access Lecture -13- By lec. (Eng.) Hind Basil University of Technology Department of Materials Engineering 1

Objectives Navigate among objects in Access database Understand the difference between working in storage and memory Practice good database file management Back up, compact, and repair Access files Create filters Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 2

Objectives (continued) Sort table data on one or more fields Know when to use Access or Excel to manage data Use Relationships window Understand relational power Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 3

Databases are Everywhere! The Internet uses databases extensively Every time you are asked to input data, you’re accessing a database – Examples: Google, Ebay and Abercrombie Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 4

Objects Objects : are the components that make a database function. What are objects? Four most commonly used object types – Tables – Queries – Forms – Reports Two less commonly used object types – Macros – Modules 5

Database Components Objects Tables Fields Records 6 School Database Student TableCourse Table S-IDS-FNS-LNC-IDC-Name S01BobWoodsC01Intro to Microcomputer Applications S02TedTreesC02Computer Applications for Business S03CarolRoseC03Introduction to Computer Science S04AliceLiliesC04Introduction to Programming

Working with Table Views Datasheet View Design View Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 7

Design View Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 8

Datasheet View Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 9

Using Forms, Queries and Reports Tables – Primary Key Forms Queries – Criteria Reports Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 10

Tips on Database Management Database files should be named using meaningful names Database files should be stored in meaningful folders and subfolders Back up your files! Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 11

Compacting & Repairing a Database Access databases increase in size over time Compacting – Avoids loss of data – Recovers unclaimed space – Defragments fragmented databases – Repairs corrupt databases Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 12

Steps in Compacting & Repairing and Backing-up Your Database Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 13 Back Up Database option

Backing Up a Database Backups are critical to a database Access provides a default file name, including the original file name and adds on the current date Default extension for Access databases is accdb Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 14

Filters A filter displays a subset of records based on specified criteria Will always display the entire record selected based on criteria selected All data extracted must be contained within a single table Hides unwanted records, but does not delete them Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 15

Types of Filters Filter by Selection Filter by Form Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 16

Filter by Selection Displays only records that match selected criteria To implement a Filter by Selection – Click in any cell field that contains the criterion on which you want to filter – Click Filter by Selection in the Sort & Filter group – Select Equals “criterion” from the list of options Only the records that match the selected criteria will be displayed Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 17

Filter by Form Displays table records based on multiple criteria. Allows the use of AND and OR conditions Allows the use of comparison operators – Comparison operators include: Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 18 Greater than>Less than< Greater than or equal to>=Less than or equal to<=

Filter using ANDs and ORs ANDs restrict selection criteria ORs expand selection criteria Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 19

Access or Excel? It is better to use Excel, if you: Are more comfortable with its ease of use Only need one worksheet to handle all of your data Have mostly numeric data Require subtotals and totals for worksheet Want to use “what if” scenarios on data Need to create complex charts and/or graphs Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 20

Access or Excel? (continued) It is better to use Access when you: Need multiple related tables to store data Have a large amount of data Need to connect to and retrieve data from external databases (such as Microsoft SQL Server) Need to group, sort, and total data based on criteria Need multiple users to have access to application simultaneously Need built-in tools to help organize data – Ability to create relationships between tables Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 21

Relational Databases Access — a Relational Database Management System (RDBMS) – Allows the user to create relationships between tables Relationships — the set of rules on how tables will be related – Good database table design is based on normalization Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 22

Creating Relationships A common field — used to relate two tables together Join lines — allow relationships between two tables to be created on a common field Three types of relationships used by Access to manage relationships between tables: – Enforce referential integrity – Cascade update related fields (see Chapter 2) – Cascade delete related records (see Chapter 2) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 23

Using the Relationships Window Relationships should be created after the tables are created, but before any sample data is entered Relationships between tables are represented by join lines in the Relationships window Most common method of connecting two tables is using a primary key from the primary table to the foreign key in the related table Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 24

Using Sample Data Before entering the real data, populate your tables with sample, yet representative, data in each of your tables Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 25

Relationships Window Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 26

Summary Access works best for large amounts of data stored in multiple related tables using relationships between tables Access allows you to sort and filter data Access allows you to compact and repair and back up your data Practicing good database file management will improve the quality of your database Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 27