1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.

Slides:



Advertisements
Similar presentations
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
Advertisements

Chapter 1 Getting Started with Access Databases. Objectives Identify Good Database Design Create a Table and Define Fields in a New Blank Database Change.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Committed to Shaping the Next Generation of IT Experts. Exploring Microsoft Office Access.
With Microsoft Access 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
By Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson, Linda Lau, Jerri Williams Chapter 7 Advanced Forms and Reports 1 Copyright.
INSERT BOOK COVER 1Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast,
GO! with Microsoft® Excel 2010
By Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson, Linda Lau, Jerri Williams Chapter 5 Data Validation and Data Analysis.
With Microsoft® Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
By Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson, Linda Lau, Jerri Williams Chapter 10 Using Macros and SQL in Access 1.
With Microsoft Access 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
With Microsoft Access 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
Getting Started with Microsoft Access The Access Workbench: Section One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson,
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Word 2010 by Robert Grauer, Michelle Hulett, and Mary.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 4: Create, Edit, and Perform.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2: Relational.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: Finding Your.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
Using Form Tools and Creating Custom Forms Microsoft Access 2010.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Access Module 1 Workshop 1 The Four Main Database Objects Series Editor Amy Kinser.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Access Module 2 Workshop 4 Accessing, Maintaining, and Presenting Information Series.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast, Mary Anne Poatsy Chapter.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast,
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
Committed to Shaping the Next Generation of IT Experts. Exploring Microsoft Office Word 2007 Chapter 4: Share, Compare and Document Robert Grauer, Keith.
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.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
GO! with Office 2013 Volume 1 By: Shelley Gaskin, Alicia Vargas, and Carolyn McLellan Access Chapter 3 Forms, Filters, and Reports.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Committed to Shaping the Next Generation of IT Experts. Chapter 7 Advanced Queries Robert.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Word 2010 by Robert Grauer, Michelle Hulett, and Mary.
Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
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.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith Mulbery, and Mary.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 11 Committed to Shaping the Next Generation of IT Experts. Chapter 3: Customize, Analyze,
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
GO! with Office 2013 Volume 1 By: Shelley Gaskin, Alicia Vargas, and Carolyn McLellan Word Chapter 1 Creating Documents with Microsoft Word 2013.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith Mulbery, and Mary.
INSERT BOOK COVER 1Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Getting Started with VBA for Microsoft Office 2010 by.
1 Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith Mulbery, and Mary Anne Poatsy Chapter 4 Excel Datasets and Tables Copyright © 2011 Pearson.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson,
Skills for Success with Microsoft Office 2013 Volume 1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Kris Townsend, Catherine.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 4: Create, Edit,
Skills for Success with Microsoft Office 2013 Volume 1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Kris Townsend, Catherine.
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
INSERT BOOK COVER 1Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Getting Started with VBA for Microsoft Office 2010 by.
1 11 Exploring Microsoft Office Access 2007 Chapter 6 Data Protection.
By Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson, Linda Lau, Jerri Williams Chapter 6 Action and Specialized Queries 1.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
Committed to Shaping the Next Generation of IT Experts. Exploring Microsoft Office Word 2007 Chapter 1: What Will Word Processing Do For Me? Robert Grauer,
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Microsoft ® Office 2007 PowerPoint Lecture to Accompany.
Exploring Microsoft Office Access 2007
GO! with Microsoft Office 2016
Exploring Microsoft Office Access 2007
GO! with Microsoft Office 2016
GO! with Microsoft® Access e
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
Exploring Microsoft® Office 2016 Series Editor Mary Anne Poatsy
Presentation transcript:

1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne Poatsy Chapter 6 Data Validation Techniques

Objectives Establish data validation Create an input mask Create and modify a lookup field Set the tab order Create a combo box control Restrict edits in a form Compare fields using a data macro Create a query to display missing data Create a missing data report Create an aggregate report Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 2

Establish Data Validation Data validation ─ a set of constraints or rules that help control how data is entered into a field Various data validation methods include: – Required – Default value – Validation rule – Validation text – Input Masks – Lookup lists Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 3

Create an Input Mask Database designers can control how users enter data into tables by: – Selecting the appropriate data type when adding fields to a table, e.g., Text, Number, Currency, and Date/Time – Creating an input mask to further restrict the data being input into a field by specifying the exact format of the data entry. Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 4

Create an Input Mask (continued) Two ways to create input masks: – Typing the appropriate characters into the input mask field – Using the Input Mask Wizard to generate an input mask for a field based on responses to a few questions Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 5

Create an Input Mask (continued) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 6

Create and Modify a Lookup Field Lookup field ─ provides the user with a finite list of values to choose from Lookup Wizard ─ helps to create the lookup field – Asks you six questions – Uses your answers to create the options list Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 7

Create and Modify a Lookup Field (continued) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 8 Payment type with lookup options

Set the Tab Order Tab order ─ the sequential advancing in a form from one field or control to the next when you press Tab Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 9

Set the Tab Order (continued) To set the tab order in a form: 1.Switch to Design view 2.Click Tab Order in the Tools group on the Design tab 3.Click Auto Order if the form has a Stacked layout and you want to enter data from top to bottom 4.Click OK to accept the changes 5.Close the Tab Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 10

Set the Tab Order (continued) Remove a Tab Stop – When you want the tab order to skip a field completely, e.g., a calculated field that does not require data entry – Set the Tab Stop property to No for that field Remove Tab Stop from Unbound Controls – Unbound controls do not require data entry, e.g., a Close Form command button Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 11

Create a Combo Box Control Combo box control ─ provides a list of options from which the user can choose a single value Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 12

Create a Combo Box Control (continued) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 13 Select Change To, Combo Box Right-click State

Restrict Edits in a Form When too many users make changes to the data, the data can become unreliable and difficult to maintain – Protect data in a database by restricting casual users from editing the data – Casual users may need access to customer information or order details, but they may not need permission to add, edit, and delete Easier to maintain data integrity if only a select group of users is allowed to enter and edit data Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 14

Restrict Edits in a Form (continued) Create a Lookup Copy of a Form – When casual users need to look up information without making changes – After you make a copy of the original form, name the copy as Lookup Form – Limit the Lookup Form to only allow viewing data by setting the Allow Edits Property to No Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 15

Compare Fields using a Data Macro Data macro ─ executes a series of actions when a table event occurs or whenever a named macro is executed – Two types of data macros: Event-driven Named Table event ─ occurs naturally as users enter, edit, and delete table data Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 16

Compare Fields using a Data Macro (continued) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 17 Design view of Vehicles table Selecting a field is not required Select an event for the data macro

Create a Query to Display Missing Data Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Create a query based on the table that you want to check to display records with missing information 2.Add criteria to check for missing data in key fields, e.g., Last Name or Order Date. 3.Checking for missing data in all the fields may become overwhelming because some are blank half the time

Create a Query to Display Missing Data (continued) Create a Query to Check for Null Values – Choose the table to use – Add the required fields in Query Design – Add the Is Null criteria to the fields that should not be blank – Make sure that the Is Null criteria for the fields are on separate rows if you want to create the OR condition Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 19

Creating a Missing Data Report Use the Report Wizard to Create a Report: – Click Report Wizard in the Reports group on the Create tab – Choose the correct table or query to base the report on (e.g., use the Missing Price Query) – Add the fields you want using the Add One Field (>) button – Click at the remaining prompts until the report is displayed Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 20

Creating a Missing Data Report (continued) Revise a Report to Highlight Possible Problems – Modify the title, add and remove fields, add grouping and sorting, and add a theme – To help a user spot a missing price, you could add color to a text box when there is an empty field (conditional formatting) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 21

Create an Aggregate Report Steps to create an aggregate report: – Create a query to use as a record source – Create a report based on the query Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 22

Create an Aggregate Report (continued) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 23 Aggregate data for each model

Summary In this chapter, you learned how to apply the various data validation techniques using tables, forms, and reports to reduce errors while managing the database. Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 24

Questions Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 25

Copyright Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. 26 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America.