1 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and Custom Forms.

Slides:



Advertisements
Similar presentations
1 Microsoft Access 2002 Tutorial 9 – Automating Tasks With Macros.
Advertisements

Access Lesson 8 Using Advanced Queries Microsoft Office 2010 Advanced Cable / Morrison 1.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
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.
Creating Custom Forms. 2 Design and create a custom form You can create a custom form by modifying an existing form or creating a new form. Either way,
Querying a Database Using the Select Query Window
BA271 Week 7 Lecture Building the database Dave Sullivan.
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
Chapter 2 Querying a Database
Access Ch 5 Review.
MS Access: Database Concepts Instructor: Vicki Weidler.
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”
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,
1 Microsoft Access 2002 Tutorial 3 – Querying a Database.
Introduction to Access By Mary Ann Chaney and Alicia Harkleroad.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
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.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall1 Exploring Microsoft Office Access Committed to Shaping the Next Generation.
Tutorial 8 Advanced Queries. Notes Switch to new database! Tutorial.08 folder Only Session 8.1 and 8.2.
Exam Review – Queries & MORE! Access SimNet Exam Access Case Exam Final Exam.
Analyzing Data For Effective Decision Making Chapter 3.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
® 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.
CHƯƠNG 3 Finding, Filtering, and Formatting Data.
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 ® Access ® 2010 Training Create Queries for a New Database If a yellow security bar appears at the top of the screen in PowerPoint, click Enable.
Examining data using Microsoft Access Queries Using Criteria and Calculations SESSION 3.2 This section covers specifying an exact match condition in a.
Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! With Microsoft ® Office 2007 Intermediate Chapter.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making Chapter.
CSC 240 (Blum)1 Introduction to Data Entry, Queries and Reports.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
Exploring Microsoft Access Chapter 6 Many-to-Many Relationships: A More Complex System.
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.
Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.
Introduction to Database using Microsoft Access 2013 Part 6.1 November 18, 2014.
Microsoft Office 2013: In Practice Chapter 3 Creating and Using Queries Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Access Chapter 5-Table Tricks, Advanced Queries and Custom Forms.
Relational Database Techniques
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.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
Microsoft Access Database Creation and Management.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.
Microsoft Access Prepared by the Academic Faculty Members of IT.
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.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
MICROSOFT ACCESS – CHAPTER 3 CONTD. Sravanthi Lakkimsetty Mar 09, 2016.
Prepared By: Bobby Wan Microsoft Access Prepared By: Bobby Wan
Objectives Query for top values Create a parameter query
Microsoft Office Access 2003
Creating and Modifying Queries
Microsoft Office Access 2003
Tutorial 3 – Querying 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
Lesson 3 Chapter 10.
Tutorial 5 Advanced Queries and Enhanced Table Design
Presentation transcript:

1 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and Custom Forms

2 New Data Files! Don’t work on the file you created so far Don’t work on the file you created so far Go to ’Tutorial.05’ folder Go to ’Tutorial.05’ folder

3 Preventing Input Errors Different techniques Different techniques Lookup Wizard Lookup Wizard Pick value from list Pick value from list Input Mask Input Mask Input is always on correct form, can’t enter letters in number field etc. Input is always on correct form, can’t enter letters in number field etc. Validation Criteria Validation Criteria Anything can be entered, but only specific values are accepted by Access Anything can be entered, but only specific values are accepted by Access

4 A Lookup Wizard field in a table To make a form easier to use, you will often add a Lookup Wizard to the form. 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. Instead of remembering a particular value, you can pick the value from a list. This approach insures that you cannot enter an invalid value. 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. When you create the Lookup Wizard, you will provide a list of acceptable values from which other users will make a selection.

5 A lookup field in Datasheet view When the user selects a description, Access will return the correct code that corresponds to the description. This figure below shows what the Lookup field looks like in the table datasheet. In this example, the NAICS description is displayed. When you select a description, Access will lookup the code that goes with the descriptions.

6 Input mask for a table field Some fields require special characters to make them more readable. Some fields require special characters to make them more readable. Example: phone number, (920) Example: phone number, (920) Create an input mask that will display these characters as a predefined format. 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. This predefined format can be used to enter or display data in a field. If literal display characters are defined, the user will not need to enter those characters. If literal display characters are defined, the user will not need to enter those characters. Use the Input Mask Wizard Use the Input Mask Wizard

7 Input Mask character descriptions This figure shows the input mask characters that are available and the meaning of each character. More characters/options available. Press F1 to see all.

8 Data Validation Demonstrate in Jobs database

9 Pattern Match Query 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 may want to view only records that match a particular criteria. You can do this by creating a query that uses a pattern match. Wildcard characters Wildcard characters *: Match with any number of characters *: Match with any number of characters ?: Match a single character ?: Match a single character #: Match a single digit #: Match a single digit Use with like operator Use with like operator Like ”508*” Like ”508*” Like ”#ab?cd*” (give an example of a string that matches) Like ”#ab?cd*” (give an example of a string that matches) Can also use with in operator Can also use with in operator In (”ME”, ”NH”, ”WI”) In (”ME”, ”NH”, ”WI”) In (”Ma*”, ”DE?”) In (”Ma*”, ”DE?”) Not In (”ME”, ”MA”) Not In (”ME”, ”MA”)

10 A design grid with a pattern match field This figure illustrates a criteria that specifies that only records whose phone numbers begin with 508 will be included in the datasheet. Notice that the * following the ‘8’ creates a wildcard, meaning that anything that follows the 508 is acceptable.

11 A list of values expand the selection possibilities This design grid shows a field with a list of values. As long as the State value in any record is one of those in the list, the record will be included in the datasheet.

12 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. 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. 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 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. Placing two conditions on separate rows in the Query design grid creates an Or condition.

13 And and Or conditions in the same query Placing conditions in the same criteria row creates an AND condition. In this example, both criteria also create OR conditions, resulting in a match condition using AND and OR.

14 Result for the combined use of And and Or The criteria for the State field specified that the State must be either MA or NH. The second criteria, for the Position Title field, specified that the values must be Waiter/Waitress or Kitchen Help. The criteria, in this case, uses the Or operator. This criteria could have also been created by placing the two positions on separate lines in the query design grid.

15 Create a parameter query Sometimes when you create a query, you don't know exactly which records the user might want to see. 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. 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. 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. Once the user has supplied this information, those records that match the value will be displayed in the query datasheet.

16 Defining a parameter query The figure below shows a parameter query placed in the criteria row. Note that the parameter query is enclosed in brackets. This text will be the user prompt when the query is run. When the parameter query is run, a dialog box will be displayed asking the user to enter a value that they want to specify for the criteria.