XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.

Slides:



Advertisements
Similar presentations
Copyright © 2008 Pearson Prentice Hall. All rights reserved Committed to Shaping the Next Generation of IT Experts. Exploring Microsoft Office Access.
Advertisements

Access Lesson 8 Using Advanced Queries Microsoft Office 2010 Advanced Cable / Morrison 1.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
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.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Querying a Database Microsoft Office Access 2003.
Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Access Tutorial 3 Maintaining and Querying a Database
Chapter 2 Querying a Database
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
Maintaining and Querying a Database Microsoft Access 2010.
1 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and Custom Forms.
SESSION 5.1 In this session we will be exploring Pattern Match Queries List-Of-Values Queries, Non-Matching Values in Queries Both the “And” and the “OR”
1 Microsoft Access 2002 Tutorial 3 – Querying a Database.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
Database Applications – Microsoft Access Lesson 9 Designing Special Queries Updated 4/11.
Database Applications – Microsoft Access Lesson 9 Designing Special Queries.
Microsoft Access 2010 Building and Using Queries.
Analyzing Data For Effective Decision Making Chapter 3.
© 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 6 – Designing.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
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.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 9 1 Microsoft Office Access 2003 Tutorial 9 – Using Action Queries, and Defining Table Relationships.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
XP New Perspectives on Microsoft Access 2002 Tutorial 21 Microsoft Access Tutorial 2 – Creating And Maintaining A Database.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
FIRST COURSE Access Tutorial 4 Creating Forms and Reports.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making Chapter.
Microsoft Office Illustrated Introductory, Premium Edition Using Tables and Queries.
® Microsoft Office 2013 Access Creating a Database.
® Microsoft Access 2010 Tutorial 3 Maintaining and Querying a Database.
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
Access Chapter 5-Table Tricks, Advanced Queries and Custom Forms.
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 11 Exploring Microsoft Office Access 2007 Chapter 6 Data Protection.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
Microsoft Access 2000 Modifying Tables, Creating Forms and Viewing Data.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
Lesson 4: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Set query.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Creating Advanced Queries and Enhancing Table Design.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
Microsoft Office Illustrated Introductory, Windows Vista Edition
Objectives Query for top values Create a parameter query
Microsoft Access 2003 Illustrated Complete
Microsoft Access 2003 Illustrated Complete
Building and Using Queries
Microsoft Office Access 2003
Tutorial 3 – Querying a Database
Microsoft Office Access 2003
Microsoft Office Access 2003
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Lesson 3 Chapter 10.
Microsoft Office Illustrated Introductory, Windows XP Edition
Tutorial 5 Advanced Queries and Enhanced Table Design
New Perspectives on Microsoft
Presentation transcript:

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design and Creating Advanced Queries

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 2 Create a Lookup Wizard field in a table To make a form easier to use, you will often add a Lookup Wizard to the form. Instead of remembering a particular value, you can pick the value from a list. This approach insures that you cannot enter an invalid value. When you create the Lookup Wizard, you will provide a list of acceptable values from which other users will make a selection.

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 3 Start the Lookup Wizard process To start the Lookup Wizard process: –Start Access and open the database to be modified –Open the desired table in Design view –Find the field you want to modify as a Lookup Wizard –Click on the right side of the Data Type text box for the field, and then click the Lookup Wizard option –The first Lookup Wizard dialog box will appear

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 4 Lookup Wizard dialog box 1

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 5 Lookup Wizard dialog box 2

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 6 Lookup Wizard dialog box 3

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 7 A lookup field in Datasheet view

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 8 Display related table records in a subdatasheet You can form a relationship between two tables based on a common field. You can display the data from the related table as a subdatasheet in the primary table's datasheet. To see the subdatasheet, simply click the expand indicator in the row for which you'd like to see the subdatasheet.

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 9 Illustration of a subdatasheet

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 10 Create an input mask for a table field Some fields require special characters to make them more readable. A phone number, for example, often includes parentheses and/or dashes. You can create an input mask that will display these characters as a predefined format. This predefined format can be used to enter or display data in a field. You can set up literal display characters that will automatically appear in a field. When you provide literal display characters, the user will not need to enter those characters. The Input Mask Wizard makes it easy for you to create an input mask.

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 11 An input mask for a phone number field

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 12 Input Mask character descriptions

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 13 Define data validation criteria You may want to view only records that match a particular criteria. You can do this by creating a query that uses a pattern match. You can use the like comparison operator using the asterisk (*), the question mark (?), or the number symbol(#). These wildcard characters allow you to create much more flexible patterns. You can also create a List of values match by creating a list of valid values and then using the In comparison operator to define a condition with two or more values. The non-matching values select records that do not match the criteria specified.

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 14 A design grid with a pattern match field

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 15 Use a list of values to expand the selection possibilities

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 16 Use both the And and Or logical operators in the same query There will be circumstances where you will want to use both the And and Or logical operators in the same query. The In operator naturally creates an Or condition. You can also use the key word Or in the criteria row to create an Or condition. Placing two conditions on the same row of the Criteria in the Query design grid creates an And condition. Placing two conditions on separate rows in the Query design grid creates an Or condition.

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 17 Sample design grid with And and Or conditions in the same query

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 18 The query result for the combined use of And and Or

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 19 Create a parameter query Sometimes when you create a query, you don't know exactly which records the user might want to see. To allow flexibility in the query, you can create a parameter query. The parameter query will prompt the user to enter the value they want to use to select records. Once the user has supplied this information, those records that match the value will be displayed in the query datasheet.

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 20 Defining a parameter query

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 21 Creating a Crosstab Query A crosstab query performs aggregate function calculations on the values of one database field and displays the results in a spreadsheet format. An aggregate function performs an arithmetic operation on selected records in a database. To access the crosstab query wizard, create a new query and select the Crosstab Query Wizard option from the New Query dialog box.

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 22 Aggregate Functions

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 23 The Crosstab Query Wizard dialog box 1

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 24 The Crosstab Query Wizard dialog box 2

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 25 The Crosstab query recordset

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 26 The Find Duplicates Query The find duplicates query finds duplicate records in a table or query. Locating duplicates helps avert potential problems (assigning two different product numbers to the same product). To create a Find Duplicates Query, select the Find Duplicates Query Wizard in the New Query dialog box when you create a new query.

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 27 The Find Duplicates Query

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 28 The Find Unmatched Query A find unmatched query is a select query that finds all records in a table or query that have no related records in a second table or query. You can, for example, find all customers who have not placed an order. To create a Find Unmatched Query, select the Find Unmatched Query Wizard in the New Query dialog box when you create a new query.

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 29 The Find Unmatched Query dialog box

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 30 The Top Values Query This query allows you to limit the number of records that display as a result of a query. –Top Values property Create a query in design view with the necessary fields and sorting. Enter the number of records (or percentage of records) you want selected in the Top Values text box on the Query Design toolbar and then click the Run button.

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 31 The Top Values Query