By Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson, Linda Lau, Jerri Williams Chapter 5 Data Validation and Data Analysis.

Slides:



Advertisements
Similar presentations
Chapter 1 Getting Started with Access Databases. Objectives Identify Good Database Design Create a Table and Define Fields in a New Blank Database Change.
Advertisements

Copyright © 2008 Pearson Prentice Hall. All rights reserved Committed to Shaping the Next Generation of IT Experts. Exploring Microsoft Office Access.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Chapter 7 Specialized Functions by Mary Anne Poatsy, Keith Mulbery, Eric Cameron,
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Chapter 11 Collaboration and Workbook Distribution by Mary Anne Poatsy, Keith Mulbery,
With Microsoft Access 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson,
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson,
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson,
With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Eric Cameron, Cyndi.
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,
By Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson, Linda Lau, Jerri Williams Chapter 9 Fine-Tuning the Database 1 Copyright.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson,
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson,
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Chapter 12 Templates, Styles, and Macros by Mary Anne Poatsy, Keith Mulbery, Eric.
By Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson, Linda Lau, Jerri Williams Chapter 8 Get Connected 1 Copyright © 2014.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
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.
With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Eric Cameron, Cyndi.
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.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson,
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson,
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 © 2010 Pearson Education, Inc. Publishing as Prentice Hall 11 Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the Next.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2: Relational.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall1 Exploring Microsoft Office Access Committed to Shaping the Next Generation.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson,
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 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.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Jason Davidson Chapter 10 Imports, Web Queries,
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.
Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
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,
Analyzing Data For Effective Decision Making Chapter 3.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Access Module 1 Workshop 2 Tables, Keys, and Relationships Series Editor Amy Kinser.
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.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Access Module 2 Workshop 3 Queries and Data Access Series Editor Amy Kinser by.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast, Mary Anne Poatsy Chapter.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making Chapter.
Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
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.
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.
INSERT BOOK COVER 1Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Getting Started with VBA for Microsoft Office 2010 by.
Access Queries Agenda 6/16/14 Review Access Project Part 1, answer questions Discuss queries: Turning data stored in a database into information for decision.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
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.
Creating Advanced Queries and Enhancing Table Design.
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
Tutorial 5 Advanced Queries and Enhanced Table Design
Presentation transcript:

by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson, Linda Lau, Jerri Williams Chapter 5 Data Validation and Data Analysis 1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Establish data validation Create an input mask Create and modify a lookup field Create a parameter query Use advanced functions in the Expression Builder Perform date arithmetic 2 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Data validation - set of constraints or rules that help control how data is entered into a field Built-in validation – Cannot enter text in a field with a number data type – Cannot add records with duplicate values in the primary key field 3 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Customizable validation methods – Required – Default Value – Validation Rule – Validation Text 4 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Customizable validation methods (cont.) – Input Mask – Lookup List – Multiple-Value Field – Data Macro 5 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Validation properties for the short text field type: 6 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Establish required fields – A required field cannot be left blank – Primary key fields are required fields Examples of required fields – Last name – Social Security number 7 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Set default field values – A default value can be set for fields that have a common value to reduce data entry time Examples of default values – City – State 8 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Set a validation rule and generate validation Text – A validation rule restricts the data values that can be entered into a field Example of when to use a validation rule – To ensure data entered into a salary field is greater that zero 9 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

An input mask controls the format of data entered into a field Using an input mask to specify format for phone number entry: 10 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Use the Input Mask Wizard – The Input Mask Wizard can be used to create an input mask by answering a few short questions Locating the Input Mask Wizard launch button: 11 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

A lookup field provides more input control by displaying a list of values to choose from in a menu Example of a drop-down menu in a lookup field: 12 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Examples of a lookup field – Anytime there are specific or restricted choices – Classes available – State Storing values in a table makes it easier to update the list 13 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Modify a lookup field by adding and deleting values – Lookup fields can be modified to fit changing needs – After a change, table data will need to be verified to reclassify records affected by the change 14 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Parameter query – a type of query where the user provides criterion at run time instead of in advance Provides flexibility Reduces development time Can be used repeatedly 15 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Example of criteria entry when creating a parameter query: 16 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Parameter report – Report based on a parameter query – User controls content of report 17 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

The Expression Builder is used to create mathematical functions 125 built-in functions in Access 18 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Date Function – Calculates the current date – No parameters – Used as default date value – Syntax: Date() 19 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Round Function – Returns a number rounded to a specific number of decimal places – Precision determines decimal places – If precision is blank, assumes nearest whole number – Syntax: Round(expression, precision) 20 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

IsNull Function – Checks whether a field has no value assigned – Useful in comparisons – Syntax: IsNull(expression) 21 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

IIf Function creates conditional output – Evaluates an expression and displays one value when expression is true and another value when false – Three parts: question, what to do if yes, what to do if no – Syntax: IIf(expression, truepart, falsepart) 22 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Nesting functions – Using one function within another function – Functions separated by parentheses and brackets – Example of a nested function: Sqr(Abs([Hypotenuse])) 23 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Combine IIf with other expressions – The IIf function is often combined with other expressions – Example of an IIf function combined with an expression: IIf(Date() – [RegistrationDate] <=7, “New Registration”, “Registered”) 24 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Use Nested IIf Functions – Used when two conditions are not sufficient to evaluate an expression – Example of a nested IIf function: IIf(Date() – [RegistrationDate] <=2, “Brand New Registration”, IIf(Date() – [RegistrationDate] <=7, “New Registration”, “Registered”)) 25 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Date formatting affects the date’s display without changing the underlying value Date arithmetic allows users to create expressions to calculate a lapsed time – Example of date arithmetic would be calculating age based on birth date 26 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

DatePart Function – Examines a date and returns a portion of the date – Returns a numeric value for a selected interval – Syntax: DatePart(Interval, date, firstdayofweek, firstweekof year) 27 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Parameters of the DatePart Function – interval – date – firstdayofweek – firstweekofyear 28 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Examples of the DatePart Function: 29 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

Apply criteria and grouping to DatePart results – A calculated field using DatePart can have criteria applied to extract specific information – Example of a DatePart function with criteria: DatePart(“m”, [Employees]![HireDate]) 30 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

In this chapter you learned to: – Establish data validation – Create an input mask – Create and modify a lookup field – Create a parameter query – Use advanced functions in the Expression Builder – Perform date arithmetic 31 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

32 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

33 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 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.