McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 3 Analyzing Tables and Creating.

Slides:



Advertisements
Similar presentations
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms.
Advertisements

Jeopardy Objects Navigation Buttons True/False Parts of a Report Vocabulary Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
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.
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,
Access Tutorial 3 Maintaining and Querying a Database
Pasewark & Pasewark 1 Access Lesson 4 Creating and Modifying Forms Microsoft Office 2007: Introductory.
Access Lesson 4 Creating and Modifying Forms
Business Computer Information Systems Microsoft Office XP Access Review Lessons 1 through 5.
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
Maintaining and Querying a Database Microsoft Access 2010.
Copyright 2003, Paradigm Publishing Inc. CHAPTER 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Table Wizard Spell Check Find Data Find and Replace Data Find and.
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,
Tutorial 6 Using Form Tools and Creating Custom Forms
An INTRODUCTION to MICROSOFT ACESS 2000 By Dr. Ennis-Cole.
© 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 4 – Creating New.
® Microsoft Access 2010 Tutorial 6 Using Form Tools and Creating Custom Forms.
Working with a Database
Introducing Access Lesson 1. Objectives Start Access and explore the Database window Explore database objects Enter, edit, and delete records in a datasheet.
DAY 14: ACCESS CHAPTER 1 Tazin Afrin October 03,
Using Form Tools and Creating Custom Forms Microsoft Access 2010.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 3 Analyzing Data and Creating Reports.
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 Office 2007 Access Chapter 2 Querying a Database.
XP 1 Microsoft Access 2003 Introduction To Microsoft Access 2003.
© 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 7 – Adding and.
© 2001 ComputerPREP, Inc. All rights reserved. Access 2000: Module I.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 5 Creating Custom Forms.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Key Applications Module Lesson 21 — Access Essentials
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 2 Modifying a Table and Creating.
Analyzing Data Using Access. Creating a new database To create a new database 1.Start Access. In the Task Pane, click Blank Database. 2.The File New Database.
A Skills Approach Access 2010 Getting Started with Access 2010 © 2012 The McGraw-Hill Companies, Inc. All rights reserved Chapter 1.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms.
SESSION 3.1 This section covers using the query window in design view to create a query and sorting & filtering data while in a datasheet view. Microsoft.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lab 6 Creating and Using Lists and.
McGraw-Hill Career Education© 2008 by the McGraw-Hill Companies, Inc. All Rights Reserved. Office Word 2007 Lab 3 Creating Reports and Tables.
® Microsoft Access 2010 Tutorial 3 Maintaining and Querying a Database.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 1 Creating a Database.
Microsoft Access. Microsoft access is a database programs that allows you to store retrieve, analyze and print information. Companies use databases for.
ACCESS Part 2. OBJECTIVE  Use the Query Wizard.  Work with data in a query.  Use Query Design View.  Sort and find data.  Filter data Apply AND criteria.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 2 Modifying a Table and Creating.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms.
1 Lesson 18 Managing and Reporting Database Information Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Windows XP Lab 2 Organizing Your Work Competencies.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
Microsoft® Access Generate forms quickly 1 Modify controls in Layout View 2 Work with form sections 3 Modify controls in Design View 4 Add calculated.
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.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
Microsoft Excel 2007 Noris Bt. Ismail Faculty of Information and Communication Technology Tel : (Ext 8408) BCOMP0101.
Microsoft Office Access 2010 Lab 3
Microsoft Office Access 2010 Lab 2
Lesson 23 Managing and Reporting Database Information
Access Tutorial 3 Maintaining and Querying a Database
Access Chapter 2 Querying a Database.
Microsoft Office Access 2003
Analyzing Data and Creating Reports
Creating and Modifying Queries
Microsoft Office Access 2003
Presentation transcript:

McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 3 Analyzing Tables and Creating Reports

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 2 McGraw-Hill/Irwin Objectives 1.Filter table records. 2.Create a query. 3.Move columns. 4.Query two tables. 5.Create a report. 6.Modify a report design. 7.Print a selected page.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 3 McGraw-Hill/Irwin Concepts 1.Filter - A filter is a restriction placed on records in the open datasheet or form to temporarily isolate and display a subset of records. 2.Query - A query is a request for specific data contained in a database. Queries are used to view data in different ways, to analyze data, and even to change existing data. 3.Join - A join is an association between a field in one table or query and a field of the same data type in another table or query.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 4 McGraw-Hill/Irwin Concepts 4.Report - A report is printed output generated from tables or queries. 5.Controls - Controls are objects on a form or report that display information, perform actions, or enhance the design.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 5 McGraw-Hill/Irwin Outline Filtering Records –Using Filter by Selection –Using Filter by Form Querying a Database –Creating a Query Using a Query Wizard –Moving Columns –Modifying a Query –Creating a Query in Design View –Querying Two Tables

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 6 McGraw-Hill/Irwin Outline Creating Reports –Using the AutoReport Wizard –Zooming the Report –Using the Report Wizard Modifying the Report Design –Selecting Controls –Moving Controls –Sizing Controls

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 7 McGraw-Hill/Irwin Outline Printing a Report –Changing Page Margins –Printing a Selected Page Creating a Report from a Query Compacting the Database Lab Review

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 8 McGraw-Hill/Irwin Restriction placed on records Quickly isolates and displays a subset of records You specify a criteria –Limiting conditions –Temporary Filter Filter results can't be saved Filter criteria is saved with the table Concept 1: FILTER

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 9 McGraw-Hill/Irwin USING FILTERS Filter by Selection –Displays only records containing a specific value –Effective when only one value is needed –Other records are temporarily hidden Filter by Form –Perform filters on multiple criteria –Look For tab –Or tab

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 10 McGraw-Hill/Irwin USING FILTERS Criteria expression –Create one or… –Select value from drop down list AND operator OR operator

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 11 McGraw-Hill/Irwin QUERYING A DATABASE A query is a request for information View data in different ways Analyze data Can change existing data Used as a source for forms and reports

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 12 McGraw-Hill/Irwin Query TypeDescription Select queryRetrieves specific information Crosstab querySummarizes large amount of data Parameter query Prompts for criteria information Action queryMakes changes to many records SQL queryAdvanced query using Structured Query Language Concept 2: QUERY

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 13 McGraw-Hill/Irwin Query WizardType of Query Created SimpleSelect query CrosstabCrosstab query Find DuplicatesLocates duplicate values in one or more fields Find UnmatchedLocates records in one table that do not have records in another CREATING A QUERY The Query Wizard

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 14 McGraw-Hill/Irwin 1.Select underlying table and fields 2.Specify a name for your query 3.Select to open as is or in Design view USING A QUERY WIZARD Steps

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 15 McGraw-Hill/Irwin Query Design window –Field list –Design grid –Column selector –Row label –Cell –Show boxes MODIFYING A QUERY

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 16 McGraw-Hill/Irwin CREATING A QUERY IN DESIGN VIEW

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 17 McGraw-Hill/Irwin Concept 3: JOIN An association between a field in one table and a field in another table –Field must be same data type Common fields –Queries can be joined Used to bring information from different tables together Joins are the power of relational databases

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 18 McGraw-Hill/Irwin JOINS Join TypeDescription Inner join Checks records for matching values and displays them as one record in the query results. Outer join Each matching record from two tables is combined into one record in the query results. SQL join Include all records from one table and only those records from a second table where the joined fields are equal.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 19 McGraw-Hill/Irwin Concept 4: REPORT Printed output generated from tables or queries All fields or selected fields Can be based on a table or query Can customize: –Text formats –Styles –Layouts –Grouping –Summary information

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 20 McGraw-Hill/Irwin CREATING REPORTS AutoReport Wizard Report Wizard What's the difference?

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 21 McGraw-Hill/Irwin SectionDescription Report HeaderContains information to be printed once at the beginning of the report. Page HeaderContains information to be printed at the top of each page. DetailContains the records of the table. Page FooterContains information to be printed at the bottom of each page. Report FooterContains information to be printed at the end of the report. MODIFYING THE REPORTS DESIGN

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 22 McGraw-Hill/Irwin Concept 5: CONTROL Controls are objects on a form or report –Display information –Perform actions –Enhance the design Two basic types of controls: –Bound –Unbound

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 23 McGraw-Hill/Irwin Labels Text boxes Check boxes List boxes Command buttons Lines Rectangles Option buttons ACCESS OBJECTS HAVING CONTROLS

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 24 McGraw-Hill/Irwin MORE ON CONTROLS Selecting controls Moving controls Sizing controls

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 25 McGraw-Hill/Irwin PRINTING A REPORT Changing page margins Printing a selected page

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 26 McGraw-Hill/Irwin CREATING A REPORT FROM A QUERY

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 27 McGraw-Hill/Irwin Makes a copy of the file Rearranges how the file is stored on disk Makes database perform optimally Compacting is important because : –Database becomes fragmented due to deletes –Space not used efficiently COMPACTING THE DATABASE

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 28 McGraw-Hill/Irwin AND operator – Narrows a search because a record must meet both conditions Bound control – A control that is linked to a field in an underlying table. Cell – Space created by the intersection of a vertical column and a horizontal row. Column selector bar – The thin gray bar just above the field name in the grid in Query Design view. Key Terms

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 29 McGraw-Hill/Irwin Key Terms Common field – A field that is found in two or more tables. Compact – Making a copy of a database file for optimal performance. Controls - In Form and Report Design views, information such as text boxes that tell Access where to place data and text. Criteria – A set of limiting conditions. Criteria expressions - An expression that will select only the records that meet certain limiting criteria.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 30 McGraw-Hill/Irwin Key Terms Design grid - The lower part of the Query Design window, which displays settings that are used to define the query. Field list - A small window that lists all fields in an underlying table. Filter - A restriction placed on records in an open form or datasheet to temporarily isolate a subset of records. Filter by Form - This feature provides a blank version of the current form or datasheet.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 31 McGraw-Hill/Irwin Key Terms Filter by Selection - A type of filter that displays only records containing a specific value. Join - Creates a relationship between tables by linking common fields in multiple tables. Join line - In the Query Design window, the line that joins the common fields in multiple tables. Margin - The blank space around the edge of a page. Move handle - A large box used to move a control picture. Multi-table query - A query that uses more than one table.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 32 McGraw-Hill/Irwin Key Terms OR operator - Any record meeting either condition is included in a search. Query - Used to view data in different ways, to analyze data, and to change data. Query datasheet – Where the result or answer to a query is displayed. Report – Printed output generated from tables or queries. Report Design view – Used to create and modify the structure of a report. Row label – Specifies the type of information that can be entered in a query.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 33 McGraw-Hill/Irwin Key Terms Show box – Used to display a field in a query result. Sizing handles – Small boxes used to size an object. Unbound control – Text not connected to a field.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 34 McGraw-Hill/Irwin Discussion Questions 1.Discuss what filters are and how they can be used in a database. When would it be appropriate to use a filter? 2.Discuss the differences between the AND and OR filter conditions. 3.Discuss what a query can do and some advantages of using queries. 4.Discuss the different types of controls. Give an example of how they can be used to create different report designs.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 35 McGraw-Hill/Irwin Frequently Asked Questions What's the difference between Filter by Selection and Filter by Form? How do I remove a filter? What is required to create a query? I created a query, but nothing happens. Did I forget to do something?

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 36 McGraw-Hill/Irwin Frequently Asked Questions When would I use a crosstab query? Running a query does not save the results, but I want to run my query again. What should I do? When would I use a join? What is the difference between forms and reports?

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 37 McGraw-Hill/Irwin FAQ cont. I am not sure how to create a report. What should I do? I want to change my report. What do I need to know about the controls? I printed a report and some of the pages are blank. What should I do?

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 38 McGraw-Hill/Irwin Web Links Access – Linked Tables – ice97/ORKht/T.HTMhttp://msdn.microsoft.com/library/officedev/off ice97/ORKht/T.HTM Access Utility Library – Shareware – MS Access Tutorials – Parameter Queries – ls/param.pdfhttp://mis.bus.sfu.ca/tutorials/MSAccess/tutoria ls/param.pdf

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 39 McGraw-Hill/Irwin Web Links MS ACCESS Tutorial – Creating Database Relationships in Access – es/library/weekly/aa031801a.htmhttp://databases.miningco.com/compute/databas es/library/weekly/aa031801a.htm MS Access Tutorial - Creating a Report in Access – es/library/weekly/aa122400a.htmhttp://databases.miningco.com/compute/databas es/library/weekly/aa122400a.htm

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 40 McGraw-Hill/Irwin Web Links Filters and Queries – Access – utorials/access1/access1.htmhttp://mis.commerce.ubc.ca/courses/comm391/t utorials/access1/access1.htm MS Access – Queries – ppages/MSAccessTutorials.htmlhttp://www1.harlingen.isd.tenet.edu/images/hel ppages/MSAccessTutorials.html Gaining Access – What is a Query? – es/ga/query_index.htmlhttp:// es/ga/query_index.html