Access Lesson 8 Using Advanced Queries Microsoft Office 2010 Advanced Cable / Morrison 1.

Slides:



Advertisements
Similar presentations
Excel Lesson 9 Applying Advanced Formats to Worksheets
Advertisements

Excel Lesson 11 Improving Data Accuracy
Working with Tables 1 of 5. Working with Tables 2 of 5.
Excel Lesson 12 Creating PivotTables and PivotCharts Microsoft Office 2010 Advanced Cable / Morrison 1.
© 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 10 – Designing.
Word Lesson 11 Customizing Tables and Creating Charts Microsoft Office 2010 Advanced Cable / Morrison 1.
Access Lesson 2 Creating a Database
Microsoft Office 2007 Access Chapter 2 Querying a Database.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 2 Querying a Database Using the Select Query Window.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
Querying a Database Using the Select Query Window
Access Tutorial 1 Creating a Database
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Chapter 2 Querying a Database
Microsoft Access 2010 Chapter 7 Using SQL.
Pasewark & Pasewark 1 Access Lesson 4 Creating and Modifying Forms Microsoft Office 2007: Introductory.
Access Lesson 4 Creating and Modifying Forms
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
Excel Lesson 14 Creating and Using Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
Chapter 2 Querying a Database
Outlook Lesson 6 Managing Calendars and Tasks Microsoft Office 2010 Advanced Cable / Morrison 1.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-1 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left,
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
Access Lesson 2 Creating a Database
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Database Applications – Microsoft Access Lesson 9 Designing Special Queries Updated 4/11.
Chapter 1 Databases and Database Objects: An Introduction
1 Access Lesson 4 Creating and Modifying Forms Microsoft Office 2010 Introductory.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
Microsoft Access 2010 Building and Using Queries.
Analyzing Data For Effective Decision Making Chapter 3.
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 2007 Access Chapter 2 Querying a Database.
Key Applications Module Lesson 21 — Access Essentials
® Microsoft Office 2013 Access Creating a Database.
MS-ACCESS BY SANGEETHA PARTHASARATHY Topics Covered Understanding different types of Queries Creating a Query Creating a Query using a Wizard Changing.
® Microsoft Office 2013 Access Maintaining and Querying a Database.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
Microsoft Office 2003: Advanced 1 ADVANCED MICROSOFT ACCESS Lesson 10 – Analyzing Data.
What are queries? Queries are a way of searching for and compiling data from one or more tables. Running a query is like asking a detailed question of.
Access Lesson 11 Creating and Running Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
1 Lesson 18 Managing and Reporting Database Information Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Access Lesson 9 Using Advanced Form Features Microsoft Office 2010 Advanced Cable / Morrison 1.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
Access Lesson 10 Adding Advanced Features to Reports Microsoft Office 2010 Advanced Cable / Morrison 1.
Creating Advanced Queries and Enhancing Table Design.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
1 Access Lesson 2 Creating Queries, Forms, and Reports Microsoft Office 2010 Fundamentals Story / Walls.
1 11 Chapter 7 Action Queries Exploring Microsoft Office Access 2007.
Microsoft Access 2013 Bobby Wan.
Access Tutorial 1 Creating a Database
Microsoft Office Illustrated Introductory, Windows Vista Edition
Access Chapter 2 Querying a Database.
Objectives Query for top values Create a parameter query
Objectives Create an action query to create a table
Querying a Database Using the Select Query Window
Microsoft Access 2003 Illustrated Complete
Building and Using Queries
Access Tutorial 1 Creating a Database
Microsoft Office Access 2003
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Access Tutorial 1 Creating a Database
Access Tutorial 1 Creating a Database
Microsoft Office Illustrated Introductory, Windows XP Edition
Presentation transcript:

Access Lesson 8 Using Advanced Queries Microsoft Office 2010 Advanced Cable / Morrison 1

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Objectives Create a parameter query. Run a parameter query. Prepare a table for action queries. Use an append query. 222

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Objectives (continued) Change data with an update query. Use wildcards in a query. Use parameters and wildcards in a query. Create a crosstab query. 333

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Vocabulary action query append criterion parameter wildcard character 444

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Introduction Queries are operations that let you locate specific information in tables. This lesson will explore: – Parameter queries – Action queries – Append queries – Update queries – Crosstab queries 5

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Creating a Parameter Query Parameter queries increase efficiency. – A single query can be used many times by using a different criterion each time the query runs. Parameter means to vary. Criterion refers to the specific information you are searching for. To create a parameter query, enter a “prompt” in the Criteria cell of the desired field. 6

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Creating a Parameter Query (continued) Query design grid with a parameter 7

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Running a Parameter Query Each time you run a parameter query, you can type a different criterion in the text box. Options for running a query: – Clicking the Run button on the Design tab – Clicking the View button in the Results group – Double-clicking the query in the Navigation pane 8

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Running a Parameter Query (continued) Enter Parameter Value dialog box 9

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Preparing a Table for Action Queries An action query makes changes to the records in a table. The records in the table are changed as soon as you run the query; you cannot undo the changes. Before you run an action query, compare the fields in the tables. 10

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Preparing a Table for Action Queries (continued) To protect the data in the table, it is best to make a copy of the table before you run the query. Paste Table As dialog box 11

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Using an Append Query An append query moves data from one table to another table. – The word append means to add To use an append query: – Add the table that has the records you want added to another table. – Add the fields to the query design grid for the fields that will contain the data to be appended to another table. 12

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Using an Append Query (continued) Append query window 13

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Changing Data with an Update Query Update queries let you change field values in a table. Always make a copy of the table before running an update query. – Table records are permanently changed when you run the update query. 14

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Changing Data with an Update Query (continued) Query Design window for an update query 15

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Using Wildcards in a Query A wildcard character is a character, such as an asterisk, that you can use to represent incomplete or unknown information. Wildcard characters can be used in queries. You can use a wildcard character with letters or numbers in any order. 16

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Using Wildcards in a Query (continued) Query design grid using wildcards 17

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Using Parameters and Wildcards in a Query Access allows you to use parameters and wildcards in the same query. Using both parameters and wildcards allows you to enter only the criterion that you are sure of in the provided message box. 18

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Using Parameters and Wildcards in a Query (continued) Query with increased field size 19

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Creating a Crosstab Query A crosstab query rearranges data in a table or query so that it appears in another format. Crosstab queries let you arrange the information you want to place in rows and columns. Crosstab queries calculate a Sum, Avg, Count, or other type of calculation for numerical data. 20

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Creating a Crosstab Query (continued) First Crosstab Query Wizard dialog box 21

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Summary In this lesson, you learned: Parameter queries display a dialog box for you to enter information each time you run the query. It is best to make a copy of a table before you run an action query. 22

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Summary (continued) An append query can add records from one table to another table. Using an update query lets you quickly change records in a table. Using wildcards in queries allows for the flexibility of not knowing a complete phrase or spelling. 23

Access Lesson 8 Cable / MorrisonMicrosoft Office 2010 Advanced Summary (continued) Using both parameters and wildcards allows you to enter only the criteria that you are sure of in the provided message box. A crosstab query places data in a spreadsheet-like format. 24