Microsoft Office Access Learn how to use the Query window in Design view. Tutorial 3b Querying a Database

Similar documents
New Perspectives on Microsoft Access Module 3: Maintaining and Querying a Database

Enforce Referential. dialog box, click to mark the. Enforce Referential. Integrity, Cascade Update Related Fields, and. Cascade Delete Related

Microsoft Access Illustrated. Unit B: Building and Using Queries

Objective 1: Familiarize yourself with basic database terms and definitions. Objective 2: Familiarize yourself with the Access environment.

Microsoft Access 2003

Access Module 2: Building and Using Queries

Introduction to MS Access queries

Microsoft Office Illustrated Introductory, Building and Using Queries

Access - Introduction to Queries

Tutorial 3 Maintaining and Querying a Database. Finding Data in a Table. Updating a Database

Microsoft Office 2010: Introductory Q&As Access Chapter 2

COMM 391 Winter 2014 Term 1

Getting started with Ms Access Getting Started. Primary Key Composite Key Foreign Key

Section 1 Creating Mail Merge Files

Access 2003 Introduction to Report Design

EXCEL Using Excel for Data Query & Management. Information Technology. MS Office Excel 2007 Users Guide. IT Training & Development

Access Objects. Tables Queries Forms Reports Relationships

Access Intermediate

Lesson 15 - How to Work with Thread Set Threads System Table

GOOGLE SHEETS MANAGING YOUR DATA

Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts. Microsoft Excel 2013 Enhanced

SOFTWARE SKILLS BUILDERS

Microsoft Office Illustrated. Using Tables

Tutorial 4 Creating Forms and Reports

Using Microsoft Access

Open. Select the database and click. Print. Set printing options using the dropdown menus, then click the

Astra Scheduling Grids

Dashboard 8.0. User Guide

Access Intermediate

Microsoft Office Excel 2003

Microsoft Access 2010

Working with Data in Microsoft Excel 2010

Creating a Crosstab Query in Design View

Asset Keeper Pro - Asset Listing Inside and Out - Part I

Basics of Spreadsheet

STIDistrict Query (Basic)

New Perspectives on Microsoft Excel Module 5: Working with Excel Tables, PivotTables, and PivotCharts

Word Tutorial 3. Creating a Multiple- Page Report COMPREHENSIVE

DataMaster for Windows

Microsoft Access 2010

Day : Date : Objects : Open MS Excel program. Subject : * Open Excel application. Select : start. Choose: programs. Choose : Microsoft Office

Microsoft Access Description

Veco User Guides. Grids, Views, and Grid Reports

Using Microsoft Access

Microsoft Access 2013

Microsoft Access 2013

Advisor Workstation Training Manual: Working in the Research Module

Tutorial 2: Queries and Reports

Access Review. 4. Save the table by clicking the Save icon in the Quick Access Toolbar or by pulling

SECTION 4 USING QUERIES. What will I learn in this section?

Microsoft Access XP Queries. Student Manual

Copyright 2015 Integrated Environmental Solutions Limited. All rights reserved.

More on MS Access queries

MODULE 5 DATABASES. Content

Complete Quick Reference Summary

FCMT Advanced Find User Guide

Shopping Cart: Queries, Personalizations, Filters, and Settings

Using Adobe Contribute 4 A guide for new website authors

1 Introduction to Excel Databases April 09

What s New in Access 2007

Microsoft Access 2010

DEVELOPING DATABASE APPLICATIONS (INTERMEDIATE MICROSOFT ACCESS, X405.5)

MIS Cases: Decision Making With Application Software, Second Edition. Database Glossary

Introduction to Microsoft Access 2016

Working with Macros. Creating a Macro

Zeppelin Website Content Manager User Manual

New Perspectives on Microsoft Excel Module 1: Getting Started with Excel

Advanced Excel Skills

DESIGNING, BUILDING, AND USING DATABASES (BEGINNING MICROSOFT ACCESS, X405.4)

The following instructions cover how to edit an existing report in IBM Cognos Analytics.

Searching and Favorites in Datatel Web UI 4.3

CHAPTER 6 SUMMARY. Objective 1: Identify Good Database Design

Working with Cells, Rows, and Columns

Creating an Excel resource

JF MSISS. Excel Tutorial 1

Sorting your Database

LIMS QUICK START GUIDE. A Multi Step Guide to Assist in the Construction of a LIMS Database. Rev 1.22

Banner 9 Page 1. Changes in Banner 9. New Terminology and Shortcut Keys Some are new, some are the same. Quick Search no icon F5 CTRL+SHFT+Y

User Manual. Administrator s guide for mass managing VirtueMart products. using. VM Mass Update 1.0

Open an existing database Sort records in a table Filter records in a table Create a query Modify a query in Design view

As your databases continue to evolve, you will need to incorporate advanced queries and reports. This chapter addresses how to create and use action

Introduction to Microsoft Excel 2010

IDEAL DataCENTER Software. Data Mining Features

Management Reports Centre. User Guide. Emmanuel Amekuedi

Contents. 1. Managing Seed Plan Spreadsheet

Microsoft Access 2013

Frequency tables Create a new Frequency Table

ADJUST TABLE CELLS-ADJUST COLUMN AND ROW WIDTHS

Rich Text Editor Quick Reference

Getting Started with Access

GO! with Microsoft Access 2016 Comprehensive

When you pass Exam : Access 2010, you complete the requirements for the Microsoft Office Specialist (MOS) - Access 2010 certification.

Microsoft Word Chapter 1. Creating, Formatting, and Editing a Word Document with Pictures

TECHNOLOGY COMPETENCY ASSESSMENT MODULE Microsoft Access

CAPITAL V8. Capital Business Software Tutorial Series. Supplier Accounts Using Capital Business Manager V8 1.0

Easy Windows Working with Disks, Folders, - and Files

FIT 100 More Microsoft Access and Relational Databases Creating Views with SQL

eschoolplus+ Cognos Query Studio Training Guide Version 2.4

Princeton University Exercise Workbook Training Developed by Elisabetta Zodeiko, Princeton University

Scenario Step-by-Step Guide

Transcription:

Microsoft Office Access 2003 Tutorial 3b Querying a Database 1 Learn how to use the Query window in Design view The Query window in Design view allows you to specify the results you want for a query. In the query Design view, you can specify which fields you want to be included in your query results. You can also control what records are displayed in the query by specifying select query criteria. Each column in the design grid represents a field that will be used in the query. You can run the query at anytime to view the results according to the current specifications. 2 Add fields to a query in Design view The design grid is used to specify the fields and records you want to see. Add fields to the design grid by double-clicking the field in the field list or by dragging the field to the design grid. Remember that the results of a query provide a temporary view of the data The contents displayed in a query are a result of the fields you select and the criteria you specify in the query design grid When you use the query design window, you use Query By Example (QBE). When you use QBE, you give Access an example of the information you wish to see when you run your query. 3

The Query Design view window 4 Create, run, and save queries From the fields list, either drag or double-click fields that you want included in the query. A query result differs from a table's datasheet view in that only selected fields are displayed If you move a field to the design grid and then you want to remove it, you can click on the field's column and then press the delete key. The results of the query will be displayed in order by the primary key of the table unless you specify another sort order. You can save the query and give it a name by pressing the save button on the toolbar. 5 Selecting, displaying and sorting fields 6

A sample query datasheet 7 Update data using a query You can use the query datasheet to update data in a table. It is important to realize that the query datasheet is a temporary view of the data. However, when you update data by means of the query datasheet, the updates are placed directly into the underlying table. You can only update fields that are represented in the query. To observe the actual changes made to the table, close the query and open the table in datasheet view. 8 Sort data in a query You can control the order of data displayed in a query by altering the queries sort key. Choose a field on which you want the data to be sorted and then specify whether you want the data sorted in ascending or descending order. Specify multiple fields as the sort key if you want to arrange data in sorted order within groups of data. Specify sort criteria for the query in the query design grid. 9

Sort results by data type 10 Sort single or multiple fields 11 Specify an exact match condition in a query You can specify an exact match condition, which allows you to specify that only records that match your criteria will be displayed. To specify an exact match, use the criteria row in your query design grid. When you run the query after specifying an exact match, only those records that meet the criteria will be displayed. An exact match condition specifies that the value in the specified field must match the condition exactly. 12

Exact match operators and results 13 Use a comparison operator to match a range of values 14 Use the And and Or logical operators When you need to use multiple conditions for a query, you can use the logical operators to combine conditions. The And logical operator specifies that both conditions must be met The Or logical operator specifies that one or the other of the conditions must be met When you enter two conditions on the same row of the query design grid, an And condition is created. If you enter two conditions that are on separate rows, an Or condition is created. 15

Illustration of And and Or logic 16 Creating And condition in the design grid 17 Perform calculations in a query using calculated fields and expressions Queries can be built to perform a calculation as part of the query. Expressions can be entered into the query design grid. Make certain that you are following the rules of precedence. 18

A calculated field in the query datasheet 19 Filter data in a query Sometimes you may want to isolate a certain portion of data in your query results. You can set a filter, or a set of restrictions, to specify what records you want to view in the results. Only those records that match the criteria will display in the results datasheet. There are two methods used to make your selections: Filter By Selection or Filter By Form. If you no longer want to view the data with the filter applied you can remove the filter. 20 Using Filter By Selection 21

Change a datasheet's appearance You can make several alterations to the way a query datasheet is displayed. You can change the font type, the font size, and the size of the columns. To alter the font of the datasheet: Click Format on the menu bar Select Font from the dropdown menu In the Font dialog box, select the font you want and also change the size of the font Columns can be resized individually or you can select and resize all of them at one time. 22 Use multiple undo and redo In Access 2003, you can Undo and Redo multiple actions at one time. While working in design view for tables, queries, forms, and reports, you can use the undo recent actions button. The Undo button on the design toolbar has an associated list box. You can open the list box and then select the action you want to undo. If you undo an action and then change your mind, you can also redo actions by the same method, using the Redo button. 23 Using the Undo actions button 24