Microsoft Office Illustrated Fundamentals

Slides:



Advertisements
Similar presentations
Microsoft Office Illustrated Fundamentals Unit K: Working with Data.
Advertisements

Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Exploring Microsoft Excel 2002 Chapter 7 Chapter 7 List and Data Management: Converting Data to Information By Robert T. Grauer Maryann Barber Exploring.
Access Tutorial 3 Maintaining and Querying a Database
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying a Database.
Microsoft Access 2003 Introduction To Microsoft Access 2003.
Querying a Database Microsoft Office Access 2003.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 1 1 Microsoft Access 2003 Tutorial 1 – Introduction To Microsoft Access 2003.
Access Tutorial 3 Maintaining and Querying a Database
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
Chapter 3 Maintaining a Database
Maintaining and Querying a Database Microsoft Access 2010.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
1 Microsoft Access 2002 Tutorial 3 – Querying a Database.
© 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 4 – Creating New.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
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 3 Maintaining and Querying a Database.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New 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.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
® Microsoft Access 2010 Tutorial 3 Maintaining and Querying a Database.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
® Microsoft Office 2013 Access Maintaining and Querying a Database.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
1 Lesson 18 Managing and Reporting Database Information Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
XP New Perspectives on Microsoft Access 2002 Tutorial 31 Microsoft Access 2002 Tutorial 3 – Querying a Database.
1 Access Lesson 2 Creating Queries, Forms, and Reports Microsoft Office 2007 Fundamentals Story / Walls.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
1 Access Lesson 2 Creating Queries, Forms, and Reports Microsoft Office 2010 Fundamentals Story / Walls.
Tutorial 1 Creating a Database
Exploring Excel Chapter 5 List and Data Management: Converting Data to
Access Maintaining and Querying a Database
Microsoft Access 2013 Bobby Wan.
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Microsoft Office Access 2010 Lab 2
Exploring Microsoft Office Access 2007
Lesson 23 Managing and Reporting Database Information
Practical Office 2007 Chapter 10
Access Tutorial 3 Maintaining and Querying a Database
Microsoft Office Access 2003
Access Creating a Database
Access Creating a Database
Access Maintaining and Querying a Database
Access Lesson 1 Understanding Access Fundamentals
Exploring Microsoft Office Access 2007
Exploring Microsoft Office Access 2007
Microsoft Office Access 2003
Microsoft Office Access 2003
Tutorial 1 – Introduction To Microsoft Access 2003
Case Study Creating a Database
Microsoft Office Access 2003
Tutorial 3 – Querying a Database
Tutorial 1 – Introduction To Microsoft Access 2003
Microsoft Office Access 2003
Access Tutorial 1 Creating a Database
Chapter 1 Databases and Database Objects: An Introduction
Lesson 24 Managing and Reporting Database Information
Grauer and Barber Series Microsoft Access Chapter One
Microsoft Office Illustrated Introductory, Windows XP Edition
Microsoft Office Illustrated Fundamentals
Unit J: Creating a Database
Assignment 3 Querying and Maintaining a Database
Presentation transcript:

Microsoft Office 2010 - Illustrated Fundamentals Unit K: Working with Data

Objectives Open an existing database Sort records in a table Filter records in a table Create a query using the Query Wizard Modify a query in Design view Microsoft Office 2010-Illustrated Fundamentals

Objectives (cont’d) Relate two tables Create a query using two tables Add a calculated field to a table Microsoft Office 2010-Illustrated Fundamentals

Unit K Introduction You can pull out information you need from a database by filtering and querying and sorting the data Sorting, using filters, creating queries and using calculated fields (fields which show the result of a mathematical expression) allows you to work with the database data how you wish Setting up relationships between tables allows you to use fields from multiple tables in a query Microsoft Office 2010-Illustrated Fundamentals

Opening an Existing Database Opening an existing Access database is similar to opening a Word or an Excel file Click the Open command on the File tab in Backstage view, or you can open a recently used database by clicking its file name in the recent files used Microsoft Office 2010-Illustrated Fundamentals

Opening an Existing Database (cont.) One difference between opening an Access database and opening a file in Word or Excel is that you can only open one Access database at a time For multiple databases to be open you will need to open additional sessions of Access and then the database Microsoft Office 2010-Illustrated Fundamentals

Opening an Existing Database (cont.) Database open with Security Warning Table in Datasheet view Microsoft Office 2010-Illustrated Fundamentals

Sorting Records in a Table You can rearrange, or sort, the records in a table in alphabetical or numerical order When sorting you need to indicate the field on which you want Access to sort and then specify: Ascending order: A-Z or 0-9 Descending order: Z-A or 9-0 You may also want to sort records using more than one field, an example might be to sort by a customer name within a specific state Microsoft Office 2010-Illustrated Fundamentals

Capturing a screen shot of your sorted table To capture a screen shot, start Microsoft Word, click the Insert tab, click the Screenshot button, then click the image of the screenshot in the available Windows menu The screen shot of a sorted table will be pasted into a new word document which can be saved Click the Access program button on the taskbar to return to Access Microsoft Office 2010-Illustrated Fundamentals

Sorting Records in a Table (cont.) Alphabetic order sort on Customer field Microsoft Office 2010-Illustrated Fundamentals

Sorting on multiple fields When sorting on multiple fields you need to decide which one will be the primary field and which field is to be sorted within the primary field grouping The field that is primary is called the outermost sort field, and the field that is the secondary sort field is called the innermost sort field To get the results you want, you must first sort the records by the Innermost field and then sort by the outermost field Microsoft Office 2010-Illustrated Fundamentals

Filtering Records in a Table Records in a table can be filtered to display only the information that meet criteria that you specify Criteria are conditions that must be met for a record to be displayed The simplest way to filter a table is to select a field that matches your criterion and use the Equals command to display those records that match the selection Microsoft Office 2010-Illustrated Fundamentals

Filtering Records in a Table (cont.) You can also apply a Number Filter to a selected field to filter records that are greater than, less than, or equal to a specific number or between two numbers Filters cannot be saved as a database object Filters can be saved as part of the table or form you are working on and reapply it the next time Filter results can also be printed Microsoft Office 2010-Illustrated Fundamentals

Filtering Records in a Table (cont.) Table with two filters applied Microsoft Office 2010-Illustrated Fundamentals

Creating a Query Using the Query Wizard A query is a database object that extracts data from one or more tables in a database according to criteria that you set A query displays only the fields you specify You can use a query to pull together information from several tables As a query is an object, you can save it for later use The simplest way to create a query is by using the Query Wizard Microsoft Office 2010-Illustrated Fundamentals

Creating a Query Using the Query Wizard (cont.) Specifying table/fields for simple query New query dialog box Simple query results Microsoft Office 2010-Illustrated Fundamentals

Creating a Query Using the Query Wizard (cont.) Select Filed buttons in Query Wizard Microsoft Office 2010-Illustrated Fundamentals

Modifying a Query in Design View You can modify an existing query if you need to make changes using Design view In Design view, you can: add fields delete fields specify a sort order for one or more fields specify criteria for fields create a query Microsoft Office 2010-Illustrated Fundamentals

Modifying a Query in Design View (cont.) Modified query in Datasheet view Microsoft Office 2010-Illustrated Fundamentals

Relating Two Tables To take advantage of the power of Access you may want to create queries that pull fields from more than one table Queries can be used to relate two tables, or specify a relationship between them To relate tables, they must share a common field The shared field must be the primary key field in one of the tables Microsoft Office 2010-Illustrated Fundamentals

Relating Two Tables (cont.) You use the Relationships window to specify a relationship between two or more tables The most common type of relationship to set up is a one-to-many relationship, in which the primary key field in one table is associated with multiple records in a second table In the second table, the common field shared with the first table is called the foreign key Microsoft Office 2010-Illustrated Fundamentals

Relating Two Tables (cont.) Show Table dialog box Edit Relationships dialog box Relationships window with one-to-many established relationship Microsoft Office 2010-Illustrated Fundamentals

Understanding good database design Creating a well-designed database requires careful planning what is the purpose and goals of the database? what data will it store? organize the database into categories of data turn the categories of data into tables define fields, data types and primary key decide table relationships Creating a well-designed structure for your database will ensure that your data is easy to access, maintain, and update Microsoft Office 2010-Illustrated Fundamentals

Creating a Query Using Two Tables Setting up relationships between tables offers many advantages: ability to create a query that pulls fields from two or more related tables changes made to fields in one table are automatically reflected in related tables or queries (if referential integrity is selected) This ensures consistent, accurate data Microsoft Office 2010-Illustrated Fundamentals

Creating a Query Using Two Tables (cont.) Setting up table relationships also ensures that your data is valid and accurate Access will prohibit any attempt to enter data in the foreign key field that is not consistent with the data in the primary key field Microsoft Office 2010-Illustrated Fundamentals

Creating a Query Using Two Tables (cont.) Adding tables in Design view Query with criteria and sorts Query results in Datasheet view Microsoft Office 2010-Illustrated Fundamentals

Creating a Query Using Two Tables (cont.) Comparison operators Microsoft Office 2010-Illustrated Fundamentals

Adding a Calculated Field to a Table A calculated field is a field that contains an expression, which is a combination of fields, values, and mathematical operators Showing the results of calculations based on values in certain fields is very useful Calculated fields have the Calculated data type Choosing a Calculated data type opens the Expression Builder dialog box where you can easily build the expression you want by specifying fields, values, and operators Microsoft Office 2010-Illustrated Fundamentals

Adding a Calculated Field to a Table (cont.) Microsoft Office 2010-Illustrated Fundamentals

Summary Good database design ensures that the data is easy to access, maintain, and update You can find the information you need in a database quickly by using sort, filter, or query Each table in a database needs a primary key field You can relate tables so that information can be pulled from each table Microsoft Office 2010-Illustrated Fundamentals