McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 4 Working with Multiple Tables.

Slides:



Advertisements
Similar presentations
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Advertisements

Benchmark Series Microsoft Access 2010 Level 1
1 Chapter 1 & 2 Relational Databases and Queries CS101 WVU.
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.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
BA271 Week 7 Lecture Building the database Dave Sullivan.
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Tutorial 5 Creating Advanced Queries and Enhancing Table Design
With Microsoft Access 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Management Information Systems MS Access 2003 By: Mr. Imdadullah Lecturer, Department of M.I.S. College of Business Administration, KSU.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
1 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and Custom Forms.
Microsoft Access 2000 Creating Tables and Relationships.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
Building The Database Chapter 2
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
© 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.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
DAY 14: ACCESS CHAPTER 1 Tazin Afrin October 03,
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 2013 Access Building a Database and Defining Table Relationships.
1 Chapter 7 Query-By-Example by Monica Chan CS157B Professor Lee.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 3 Analyzing Data and Creating Reports.
© 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.
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.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
XP New Perspectives on Microsoft Office Access 2003 Tutorial 9 1 Microsoft Office Access 2003 Tutorial 9 – Using Action Queries, and Defining Table Relationships.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 5 Creating Custom Forms.
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.
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
CIS 250 Advanced Computer Applications Introduction to Access.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T6: Basic Skills and Tools Using Access 2010 Business Driven Technology.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
WHAT IS A DATABASE? A DATABASE IS A COLLECTION OF DATA RELATED TO A PARTICULAR TOPIC OR PURPOSE OR TO PUT IT SIMPLY A GENERAL PURPOSE CONTAINER FOR STORING.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
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.
A Skills Approach Access 2010 Working with Tables © 2012 The McGraw-Hill Companies, Inc. All rights reserved Chapter 2.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 1 Creating a Database.
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.
Maintaining a Database Access Project 3. 2 What is Database Maintenance ?  Maintaining a database means modifying the data to keep it up-to-date. This.
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
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.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 2 Modifying a Table and Creating.
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
Relational Database Techniques
© 2001 ComputerPREP, Inc. All rights reserved. Access 2000: Module II.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.
Getting Started in Access 1 Using an existing Database Database Window Table Design View Parts of a Table Views in Access Navigating in Access Entering.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Microsoft ® Office 2007 PowerPoint Lecture to Accompany.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.
Microsoft Office Access 2010 Lab 1
GO! with Microsoft Office 2016
GO! with Microsoft Access 2016
Microsoft Office Access 2003
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Microsoft Access Validation Rules, Table Relationships And
Presentation transcript:

McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 4 Working with Multiple Tables

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 2 McGraw-Hill/Irwin Objectives 1.Create a table using the Table Wizard. 2.Create an input mask. 3.Create a lookup field. 4.Set required properties. 5.Copy and import data between tables and applications. 6.Add a calculated field to a query. 7.Create a crosstab query. 8.Insert a subdatasheet in a table. 9.Define table relationships and enforce referential integrity. 10.Print a database relationships report.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 3 McGraw-Hill/Irwin Concepts 1.Input Mask - An input mask controls how data is entered in a field of a table, query, or form. 2.Lookup Field - A lookup field provides a list of values from which the user can choose to enter data into that field. 3.Copy and Import - Selections can be copied or duplicated to new locations in a database, between databases, or to other applications or imported from another application and converted into a format that can be used in a table. 4.Required Property - The Required property specifies whether a value is required in a field.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 4 McGraw-Hill/Irwin Concepts 5.Calculated Field - A calculated field displays the result of a calculation in a query. 6.Crosstab Query - A crosstab query summarizes table data and displays it in a tabular format. 7.Subdatasheet - A subdatasheet is a data table nested in another data table that contains data related or joined to the table where it resides. 8.Relationship - A relationship establishes the association between common fields in two tables.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 5 McGraw-Hill/Irwin Outline Creating a Table with the Table Wizard Controlling Field Input –Changing Field Properties –Creating an Input Mask –Creating a Lookup Field

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 6 McGraw-Hill/Irwin Outline Copying and Importing Data –Copying Data from Another Table –Importing Data from another Application Making Fields Required Using Calculations in Queries –Creating a Multi-table Query –Adding a Calculated Field

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 7 McGraw-Hill/Irwin Outline Creating a Crosstab Query –Using the Crosstab Query Wizard –Refining the Query Design Using Subdatasheets –Inserting a Subdatasheet into a Master Table –Displaying and Printing a Subdatasheet

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 8 McGraw-Hill/Irwin Outline Defining Table Relationships –Establishing a One-to-One Relationship –Establishing a One-to-Many Relationship –Enforcing Referential Integrity –Printing a Relationships Report –Backing up and Restoring a Database Lab Review

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 9 McGraw-Hill/Irwin Creating a Table with the Table Wizard Helps you create a new data table Leads you step by step through process Can select … –Type or category of table –Table design –Fields Assigns a primary key Creates a related data-entry form

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 10 McGraw-Hill/Irwin Table Wizard

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 11 McGraw-Hill/Irwin Table Wizard Prompts

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 12 McGraw-Hill/Irwin Controlling Field Input Field Properties –Field characteristics, for example … Name Size Data type –Input Mask Controls where data is entered Makes the task of entering data easy –Lookup Values

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 13 McGraw-Hill/Irwin Input Mask Access automatically inserts hyphens for a social security number If user enters hyphens, input mask will correct error Social Security Number

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 14 McGraw-Hill/Irwin 00-9 must be entered 9Entry not required; if made, must be a digit or space #Entry not required; if made, must be a digit or space, +, or - LA-Z must be entered ?Entry not required; if made, must be a letter from A-Z ALetter or digit must be entered aEntry not required; if made, must be a letter or a digit &Entry required; can be any character, or a space Characters for Input Masks

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 15 McGraw-Hill/Irwin CEntry not required; if made, can be any character or a space.,:;-/Decimal placeholder and thousand, date, time separators <Converts entries to lower case >Converts entries to uppercase !Displays input mask from right to left where ! is inserted \Displays the character that follows as a literal character Characters for Input Masks

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 16 McGraw-Hill/Irwin Provides a list of values Values can be from … A Lookup List - an existing table A Value List - a fixed set of values that are defined Concept 2: LOOKUP FIELD

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 17 McGraw-Hill/Irwin Lookup List An association is created when a lookup field uses an existing table Foreign key – a field in one table that refers to the primary key in another table –Indicates how tables are related –Field names do not have to match –Data types must be the same

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 18 McGraw-Hill/Irwin Value List Values entered when lookup field is created Values should be static  Examples - Mr., Mr., or Miss Selected value stored in the record No association to a related table

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 19 McGraw-Hill/Irwin Creating a Value List with the Wizard

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 20 McGraw-Hill/Irwin Lookup Tab Entry

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 21 McGraw-Hill/Irwin To copy - duplicate to another location –New locations in a database –Between databases –To other locations To import - retrieve data that has been saved in another format Concept 3: COPY AND IMPORT

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 22 McGraw-Hill/Irwin Copy and Import Source Destination System Clipboard Office Clipboard

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 23 McGraw-Hill/Irwin Importing File/Get/External Data/Import Select type of import file Import Spreadsheet Wizard is started

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 24 McGraw-Hill/Irwin Importing Data from Another Application

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 25 McGraw-Hill/Irwin Value is required in a field Property can be set to yes or no If yes, value cannot be null (zero) Can be set for any type of field except AutoNumber Primary key will not accept null values Concept 4: REQUIRED PROPERTY

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 26 McGraw-Hill/Irwin Required Property Set to Yes

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 27 McGraw-Hill/Irwin Using Calculations in Queries Create query Select fields Enter expression in design grid Run query

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 28 McGraw-Hill/Irwin Displays the results of a calculation Examples Sum of all inventory Average salary for a department Highest sale figures Create your own calculation Use a function Concept 5: CALCULATED FIELD

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 29 McGraw-Hill/Irwin Function What it Calculates SumTotals values in a field AverageAverages values in a field CountCounts number of values MinimumFinds lowest value MaximumFinds highest value Standard deviationMeasure of the dispersion of a frequency distribution VarianceSquare of standard deviation Predefined Calculations

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 30 McGraw-Hill/Irwin Using a Calculated Field Calculated field formula Calculated gross pay

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 31 McGraw-Hill/Irwin Summarizes table data Displays data in a tabular format Field values Calculated by sum, average, and count Grouped along left side and across the top of the datasheet Why are crosstab queries useful? Concept 6: CROSSTAB QUERY

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 32 McGraw-Hill/Irwin Using the Crosstab Query Wizard Open the Crosstab Query Wizard Select a table or a query for the crosstab results Select fields to use as row headings –Displayed along left side of data sheet Select fields to use as column headings –Displayed along top of the data sheet Select fields to be calculated and function

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 33 McGraw-Hill/Irwin Creating a Crosstab Query Create a regular query –Use to create a crosstab query that will show the average number of hours per employee per week Run query

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 34 McGraw-Hill/Irwin Crosstab Query Result Crosstab query result Automatically calculated the average number of hours per employee per week

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 35 McGraw-Hill/Irwin Refining the Query Design Rename columns –Change heading to "Average Hours" Move columns –Columns are in date order

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 36 McGraw-Hill/Irwin A data table that is nested in another data table Contains data related or joined to the table where it resides Can view and edit data easily Subdatasheet Concept 7: SUBDATASHEET

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 37 McGraw-Hill/Irwin Subdatasheet Master table Child fields Master fields

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 38 McGraw-Hill/Irwin Creating a Subdatasheet

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 39 McGraw-Hill/Irwin Subdatasheet Results

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 40 McGraw-Hill/Irwin Establishes the association between common fields in two tables Related fields –Same data type –Contains same kind of information –Can have different field names Concept 8: RELATIONSHIP

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 41 McGraw-Hill/Irwin One-to-one One-to-many Many-to-many Can you give examples of each of these relationships? Defining Table Relationships

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 42 McGraw-Hill/Irwin Referential Integrity Rules Ensures that relationships are valid Ensures that related data is not accidentally changed or deleted

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 43 McGraw-Hill/Irwin Association between two tables Primary key in each record of one table corresponds to the matching value in the related table Establishing a One-to-One Relationship

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 44 McGraw-Hill/Irwin Association between two tables Primary key field value in each record corresponds to the value in the matching field of many records in the related table Establishing a One-to-Many Relationship

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 45 McGraw-Hill/Irwin Enforcing Referential Integrity An erroneous change to a record in one table could adversely affect its relations Prevent this with referential integrity Once set, warning message displayed if rules broken

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 46 McGraw-Hill/Irwin Referential Integrity

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 47 McGraw-Hill/Irwin Choose File/Print Relationships –A preview of report is displayed –Database name and creation date are automatically used as the report header. Print report and save for future reference Printing a Relationship Report

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 48 McGraw-Hill/Irwin Perform periodic backups –Power outage or system failure –Lost or corrupted file Backup –Saves a copy of the database –Backup programs Windows Explorer My Computer Microsoft Backup Backing up and Restoring a Database

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 49 McGraw-Hill/Irwin Restore Operation Copies a backup file from storage medium Use same method to restore as you used to backup Tools/Database Utilities/Compact and Repair Database –Performance enhancement

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 50 McGraw-Hill/Irwin Key Terms Backup - Operation that saves a copy of the database or other type of file to a storage medium other than the computer's hard disk. Calculated Field - Field based on information contained in multiple fields of the database, or the results of an expression rather than actual data. Child Field - One or more fields in the embedded subdatasheet that will be linked to master fields in the master table. Copy – To duplicate a selection to another location. Crosstab Query - Summarizes large amounts of data in an easy-to-read, row-and-column format.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 51 McGraw-Hill/Irwin Key Terms Destination – The location where a copied selection is inserted. Expand indicator – The + symbol in a datasheet that indicates a subdatasheet is available. Foreign key - Field in one table that refers to the primary key field in another table and indicates how the tables are related Function - Predefined calculations provided by Access to calculate Sum, average etc Import - To retrieve data that has been saved in another format into an Access table. Input Mask - Used in fields and text boxes to format data and provide control over what values can be entered into a field.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 52 McGraw-Hill/Irwin Key Terms Junction Table - Holds the primary key fields from the other two tables in a many-to-many relationship. Lookup Field - Provides a list of values the user can choose from to enter data into that field. Lookup List - The lookup field that uses another table as the source for values. Many-to-Many – An association between two tables in which one record in either table can relate to many records in other tables. Master Field - Fields from the master table. Master Table - The table that holds the subdatasheet.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 53 McGraw-Hill/Irwin Key Terms Office Clipboard - An Office XP storage area in memory that can store up to 24 items. One-to-Many - An association between two tables in which the primary key field value in each record in the primary table corresponds to the value in the matching field value of one record in the other table. One-to-One - An association between two tables in which each record in the first table contains a field value that corresponds to the field value of one record in the other table. Primary Table - The “one” side of two related tables in a one-to-many relationship. Referential Integrity - A set of rules used by Access to ensure that relationships between tables are valid and that related data is not accidentally changed or deleted.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 54 McGraw-Hill/Irwin Key Terms Relationship - The association between common fields in two tables. Required Property - Specifies whether a value is required in a field. Restore - Operation that copies a backup file from the storage medium back onto the computer's hard disk. Source - The original selection that is copied. Subdatasheet - A data table nested in another data table that contains data related or joined to the table where it resides. System Clipboard - A temporary Windows storage area in memory Value List - The lookup field that fixed values.

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 55 McGraw-Hill/Irwin Discussion Questions 1.Discuss the differences between using the Table Wizard and the Design View for creating new data tables. When would you use one as opposed to the other? 2.Discuss the purpose of a crosstab query. When would it be better to use this type of query instead of a simple query?

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 56 McGraw-Hill/Irwin Discussion Questions 3.Discuss how input mask and lookup fields can help data entry. To what types of field data could you apply input masks? For what types of data could you create lookup fields? 4.Discuss the purpose of table relationships. When and why should you enforce referential integrity among related tables? Are there any situations where this would be a hindrance rather than a help?

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 57 McGraw-Hill/Irwin Frequently Asked Questions What flexibility do I have if I use the Table Wizard to create a table? I need to enter social security numbers in a field and I don't want to enter the dashes. How can input mask help me? Name some of the predefined input masks provided by Access. What is the difference between a lookup list and a value list? Don't they do the same thing?

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 58 McGraw-Hill/Irwin Frequently Asked Questions What is the difference between copy and import? How can I ensure that fields are completely filled in for my club employee table? Will Access still accept a record if one of the required field values is missing? Can I do calculations in Access?

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 59 McGraw-Hill/Irwin Frequently Asked Questions Can I create my own calculations in Access or do I have to use Access's predefined functions? What is a crosstab query? When would I use one? Is there an easy way to create a crosstab query? How do I create a subdatasheet in Access?

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 60 McGraw-Hill/Irwin Frequently Asked Questions How do subdatasheets differ from joined queries? I created a subdatasheet, but I can't see all the data from the other table. How do I display the subdatasheet?

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 61 McGraw-Hill/Irwin Frequently Asked Questions What is an Access relationship? Describe the three relationship types. I want to prevent data from being accidentally deleted in my database. What is referential integrity? Can I print a copy of the relationships in my database? When should I run Compact and Repair?

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 62 McGraw-Hill/Irwin Web Links Relationships: FMEA – A3: Referential Intergrity – MS Access Tips – Converting Database Files – /Q286/3/41.ASPhttp://support.microsoft.com/support/kb/articles /Q286/3/41.ASP

The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 63 McGraw-Hill/Irwin Web Links Table Relationships – Microsoft Access Developer's Forum – Tek-Tips Forum – tips.com/gthreadminder.cfm/lev2/4/lev3/27/pid/ 181http:// tips.com/gthreadminder.cfm/lev2/4/lev3/27/pid/ 181