Plug-In T7: Problem Solving Using Access 2007

Slides:



Advertisements
Similar presentations
1 After completing this lesson, you will be able to: Create a database. Create a table using the Table Wizard. Create and modify a table in Design view.
Advertisements

Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Chapter 5 Multitable Forms
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Access Lesson 2 Creating a Database
Chapter 1 Databases and Database Objects: An Introduction
Access Tutorial 3 Maintaining and Querying a Database
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 3 Maintaining a Database Using the Design and Update Features of Access.
Access Tutorial 10 Automating Tasks with Macros
Advanced Tables Lesson 9. Objectives Creating a Custom Table When a table template doesn’t suit your needs, you can create a custom table in Design view.
Chapter 3 Maintaining a Database
Maintaining and Querying a Database Microsoft Access 2010.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Chapter 1 Databases and Database Objects: An Introduction
Chapter 6 Advanced Report Techniques
Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T8 DECISION MAKING USING ACCESS.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T8: Decision Making Using Access 2007 Business Driven Technology.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Access Project 7 Advanced Report and Form Techniques.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T7 PROBLEM SOLVING USING ACCESS.
BUSINESS DRIVEN TECHNOLOGY Plug-In T5 Touring Access.
® Microsoft Access 2010 Tutorial 3 Maintaining and Querying a Database.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
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.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
1 After completing this lesson, you will be able to: Create and run a query. Specify criteria in a query. Create a calculated field. Create a multiple-table.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology.
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.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
Microsoft Access 2010 Chapter 4 Creating Reports and Forms.
CREATING DATABASE Presenter: Jolanta Soltis. When to use Excel Use Excel when you: –Require a flat or non-relational view of your data (you do not need.
T7-1 LEARNING OUTCOMES – ACCESS PROBLEM SOLVING 1.Describe the process of using the Simple Query Wizard using Access 2.Describe the process of using the.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T8 Decision Making Using Access.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Using the Report Button Using the Report Button Print.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
Access Queries and Forms. Adding a New Field  To insert a field after you have saved your table, open Access, and open the table  It is easier to add.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
Access Tutorial 2 Building a Database and Defining Table Relationships
Maintaining a Database Using the Design and Update Features of Access
Access Maintaining and Querying a Database
Microsoft Access 2013 Bobby Wan.
Maintaining a Database
Microsoft Office Illustrated Introductory, Windows Vista Edition
Access Tutorial 3 Maintaining and Querying a Database
Access Chapter 2 Querying a Database.
Analyzing Data Using Access
Sharing Data among Applications
Access Project 8 Using Visual Basic for Applications (VBA) and Creating Multi-Page Forms.
Creating and Using a Database
Chapter 4 Creating Reports and Forms
Microsoft Official Academic Course, Access 2016
Chapter 9 Lesson 2 Notes.
Microsoft Office Access 2003
Microsoft Official Academic Course, Access 2016
Microsoft Office Access 2003
Chapter 1 Databases and Database Objects: An Introduction
Chapter 18 Finalizing a Database.
Analyzing Data Using Access
Microsoft Office Illustrated Introductory, Windows XP Edition
Tutorial 10 Automating Tasks with Macros
Assignment 3 Querying and Maintaining a Database
CREATING QUERIES, FORMS, AND REPORTS Section 3
Presentation transcript:

Plug-In T7: Problem Solving Using Access 2007

LEARNING OUTCOMES Describe the process of using the Simple Query Wizard using Access Describe the process of using the Design view for creating a query using Access Describe the process of adding a calculated field to a query using Access Describe the process of using aggregate functions to calculate totals in queries. Describe how to format results displayed in calculated fields

INTRODUCTION A query is a tool for extracting, combining, and displaying data from one or more tables, according to criteria you specify In a query, you can sort information, summarize data (display totals, averages, counts, and so on), display the results of calculations on data, and choose exactly which fields are shown You can view the results of a query in a tabular format, or you can view the query’s data through a form or on a report

Creating Simple Queries Use the Simple Query Wizard to create a select query A select query displays data from a table or tables, based on the fields that you select, but it does not sort or filter the data

Creating Simple Queries To create a query using the Simple Query Wizard: Open the file T7_SlopesideBikes_Data.mdb You will see a Security Warning Click on the Options button and select Enable Click OK Click the Create tab and then click the Query Wizard button Double-click Create query by using wizard Click the Tables/Queries box drop-down arrow Click Table: CUSTOMER

Creating Simple Queries

Creating Simple Queries Add all the fields by clicking on the right double arrow button Click Next Make sure that the radio button Detail is selected and click Next Type Customer Query as the Query title Click Finish to view the query in Datasheet view Close the query (it will automatically be saved)

Creating Simple Queries

Reordering Columns In The Select Query Datasheet You can reorder columns by clicking and dragging To reorder columns: Open the Customer Query by double-clicking on it from the Navigation pane Click the First Name field selector and drag to the left Notice the black column border line that appears to the left of the selected column As you move your mouse across the screen, the column border line will move with it Close and Save the query

Reordering Columns In The Select Query Datasheet

Creating A Select Query In Design View To create a select query in Design view: Click the Create tab and then click the Query Design button in the Other group Click the name of the BIKE table Click the Add button Click the Close button to continue Double-click the Bike ID field Double-click the Description field Run the query by clicking the Run button Close and Save the query as Bike List

Creating A Select Query In Design View

Creating A Select Query In Design View

Adding Selection Criteria To A Select Query To specify criteria for a select query: In the Navigation Pane, click the Bike List query, right-click and click on Design View In Design view, double-click the Cost Per Hour field Click in the Criteria cell under the Cost Per Hour field and type in <15 Run the query Close and Save the query as Bikes Under $15

Adding Selection Criteria To A Select Query

Sorting Data In A Select Query You can control how records appear in Query datasheet view by using the sort feature To modify the select query to sort records: Open the Bikes Under $15 query In Design view, click Sort under the Description field Click the drop-down arrow and select Ascending Run the query Close and Save the query as Sorted Bikes Under $15

Advanced Queries To enter formulas in calculated fields, follow these steps: Click the Create tab and then click the Query Design button Click the name of the BIKE, CUSTOMER, and RENTAL tables Click the Add button Click the Close button to continue Double-click the Last Name and First Name fields from the CUSTOMER table, double-click the Date field from the RENTAL table, and double-click the Description field from the BIKE table

Advanced Queries To add a new calculated field, click inside the field row of a blank column, and type Rental Amount:. This is the name of an anonymous field Now you will enter the expression to be calculated. Type in ([Time In]-[Time Out])*24*[Cost Per Hour] Run the query to see the results of the calculated field Close and Save the query as Rental Amount

Advanced Queries

Using Aggregate Functions To Calculate Totals In Queries Access includes a group of powerful built-in commands known as aggregate (or total) functions Using aggregate functions, you can easily calculate totals for groups of records returned by the query specifications Aggregate functions can calculate the sum, minimum, maximum, average, count, variance, and standard deviation

Using Aggregate Functions To Calculate Totals In Queries To use aggregate functions in queries: Click the Create tab and then click the Query Design button Click the name of the BIKE table and click the Add button Click the Close button to continue Double-click the Description and Cost Per Hour fields Click the Totals button (the Sigma icon on the menu bar) to add the total row to the query grid

Using Aggregate Functions To Calculate Totals In Queries Click in the total row for the Description Click the arrow and select Group By Click in the total row for the Cost Per Hour cell Click the arrow and select the Avg function Click the Run button Close and Save the query as Bike Average Cost Per Hour

Using Aggregate Functions To Calculate Totals In Queries

Formatting Results Displayed In A Calculated Field To use the format property for calculated fields: Open the Rental Amount query in Design view Right-click in the Rental Amount calculated field Click Properties... from the shortcut menu Click in the Format box Click the drop-down arrow Scroll down and click the Currency format Close the Field Properties dialog box by clicking the close box in the upper right corner Click the Run button

Formatting Results Displayed In A Calculated Field

Creating And Running Queries To Modify Data To use action queries: Create a New query in Design view Select the BIKE table and click Add Close the Show Table Dialog box Double-click the Cost Per Hour field to add it to the query grid Convert the query to an action query by choosing the Update button on the tool bar Click inside the Update To: row and type in [Cost Per Hour] +.50 (this will add 50 cents to each cost per hour) Run the query

Creating And Running Queries To Modify Data