A Skills Approach Access 2010 Working with Tables © 2012 The McGraw-Hill Companies, Inc. All rights reserved Chapter 2.

Slides:



Advertisements
Similar presentations
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Advertisements

MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Benchmark Series Microsoft Access 2010 Level 1
Chapter 5 Multitable Forms
Access Lesson 2 Creating a Database
Chapter 1 Databases and Database Objects: An Introduction
Creating a Blank Database 1. Open up Microsoft Access 2. Click on Blank document button 3. On the right panel, Specify the location for saving your database.
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
© 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 3 – Finding, Filtering,
Tables. Any database must contain one or more tables, because that’s where the data is stored. For any table there are two views provided: Datasheet view.
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Chapter 2 Querying a Database
Chapter 3 Maintaining a Database
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.
Access Lesson 2 Creating a Database
Unit J: Creating a Database Microsoft Office Illustrated Fundamentals.
© 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.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
Working with a Database
Access 2000 Part 1 Introduction to Access Agenda Starting Access. Creating Tables. Working with Tables. Setting Field Properties.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Exploring Microsoft Access 2003 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards.
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.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
© 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.
1 Web-Enabled Decision Support Systems Access Tables: Building Data Foundation Prof. Name Position (123) University Name.
Key Applications Module Lesson 21 — Access Essentials
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
Chapter 17 Creating a Database.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
A Skills Approach Access 2010 Getting Started with Access 2010 © 2012 The McGraw-Hill Companies, Inc. All rights reserved Chapter 1.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T6: Basic Skills and Tools Using Access 2010 Business Driven Technology.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create and Open a Database Create and Open a Database.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T7 PROBLEM SOLVING USING ACCESS.
Microsoft Access 2010 Chapter 10 Administering a Database System.
® Microsoft Office 2013 Access Creating a Database.
BUSINESS DRIVEN TECHNOLOGY Plug-In T5 Touring Access.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
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.
Access  Getting Started  Creating Tables  Designing Tables Worksheet #8.
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.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 2 Modifying a Table and Creating.
Introduction to a Database Defining a database Database window in Access The six items in window: Tables, Queries Forms, Reports, Macros, Modules.
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
T7-1 LEARNING OUTCOMES – ACCESS PROBLEM SOLVING 1.Describe the process of using the Simple Query Wizard using Access 2.Describe the process of using the.
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.
Work with Tables and Database Records Lesson 3. NAVIGATING AMONG RECORDS Access users who prefer using the keyboard to navigate records can press keys.
Pasewark & Pasewark 1 Access Lesson 2 Creating a Database Microsoft Office 2007: Introductory.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
C REATING & D ESIGNING A D ATABASE 1. C REATING A D ATABASE 2 There are two different ways to create a new Access database: 1. Start from scratch with.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
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.
To play, start slide show and click on circle Access 1 Access 2 Access 3 Access 4 Access Access
Access Tutorial 2 Building a Database and Defining Table Relationships
Microsoft Access 2007 – Level 1
MODULE 7 Microsoft Access 2010
Access Lesson 2 Creating a Database
Guidelines for Microsoft® Office 2013
Presentation transcript:

A Skills Approach Access 2010 Working with Tables © 2012 The McGraw-Hill Companies, Inc. All rights reserved Chapter 2

A Skills Approach © 2012 The McGraw-Hill Companies, Inc. All rights reserved 2 Working with Tables Chapter 2 Skills 2.1Designing a Table 2.2Adding Fields to Tables in Datasheet View 2.3Adding a Lookup Field from Another Table in Datasheet View 2.4Adjusting Column Widths in Datasheet View 2.5Changing Data Type in Datasheet View 2.6Adding a Total Row 2.7Using Attachment Fields 2.8Modifying Field Properties in Datasheet View

A Skills Approach © 2012 The McGraw-Hill Companies, Inc. All rights reserved 3 Working with Tables Chapter 2 Skills 2.9Creating a Table in Design View 2.10Setting the Primary Key 2.11Adding and Deleting Fields in Design View 2.12Modifying Field Properties in Design View 2.13Adding a Lookup Field from a List in Design View 2.14Modifying Lookup Field Properties 2.15Modifying Table Properties 2.16Renaming and Deleting Tables

A Skills Approach Designing a Table © 2012 The McGraw-Hill Companies, Inc. All rights reserved 4 Skill 2.1 In a relational database, tables are related by common fields. Information about each department is stored only in the Departments table; it is not repeated in the Employees table.

A Skills Approach Designing a Table © 2012 The McGraw-Hill Companies, Inc. All rights reserved 5 Skill 2.1 You can create a table from the Create tab. The first field is an AutoNumber field.

A Skills Approach Designing a Table © 2012 The McGraw-Hill Companies, Inc. All rights reserved 6 Skill 2.1 Enter data in each field; Access sets a data type based on the data. The fields are named Field1, Field2, and so on.

A Skills Approach Designing a Table © 2012 The McGraw-Hill Companies, Inc. All rights reserved 7 Skill 2.1 Click anywhere in a field to rename it. A caption, if you supply one, displays instead of the name.

A Skills Approach Adding Fields to Tables in Datasheet View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 8 Skill 2.2 The Click to Add command is the rightmost column in a table. Click it and choose a data type.

A Skills Approach Adding Field to Tables in Datasheet View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 9 Skill 2.2 You can add a field to a table from the Table Tools Fields tab. The last section in the gallery, Quick Start, inserts a related group of fields.

A Skills Approach © 2012 The McGraw-Hill Companies, Inc. All rights reserved 10 Skill 2.2 You can choose from many data types for a field. Data TypeDescription AutoNumberAutomatically assigned value; often used as a primary key TextShort text data or numbers that are treated as text; up to 255 characters NumberNumerical value Date/TimeNumerical value that is displayed as a date or time CurrencyNumerical value with up to four decimal places Adding Field to Tables in Datasheet View

A Skills Approach © 2012 The McGraw-Hill Companies, Inc. All rights reserved 11 Skill 2.2 Data TypeDescription Yes/NoStores a true/false value HyperlinkStores a Web or address AttachmentAnother file such as an image, a PDF, or a Word document MemoLong blocks of text up to 65,535 characters Calculated FieldAn expression or formula that calculates and displays a value. Adding Field to Tables in Datasheet View

A Skills Approach Adding a Lookup Field from Another Table in Datasheet View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 12 Skill 2.3 A Lookup field allows the user to select data from a list. The list can be from another table or query; you can also key a lookup list.

A Skills Approach Adding a Lookup Field from Another Table © 2012 The McGraw-Hill Companies, Inc. All rights reserved 13 Skill 2.3 Use the Lookup & Relationship data type to start the Lookup Wizard.

A Skills Approach Adding a Lookup Field from Another Table © 2012 The McGraw-Hill Companies, Inc. All rights reserved 14 Skill 2.3

A Skills Approach Adding a Lookup Field from Another Table © 2012 The McGraw-Hill Companies, Inc. All rights reserved 15 Skill 2.3

A Skills Approach Adjusting Column Widths in Datasheet View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 16 Skill 2.4 Column widths can be adjusted to better display data. You can drag column borders or use the dialog box.

A Skills Approach Changing Data Type in Datasheet View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 17 Skill 2.5 You can select a different data type after data is entered.

A Skills Approach Adding a Total Row © 2012 The McGraw-Hill Companies, Inc. All rights reserved 18 Skill 2.6 A Total row uses an aggregate function to display summary values for a field.

A Skills Approach Adding a Total Row © 2012 The McGraw-Hill Companies, Inc. All rights reserved 19 Skill 2.6 Aggregate FunctionCalculation SumTotal of all values in the column for number, decimal, and currency field types AverageAverage value, ignoring null values, in the column for number, decimal, date/time, and currency field types CountThe number of items in the column for any data type MaximumLargest value for number, decimal, date/time, and currency field types MinimumSmallest value for number, decimal, date/time, and currency field types Standard DeviationStatistical standard deviation for numeric field types VarianceStatistical variance for numeric field types

A Skills Approach Using Attachment Fields © 2012 The McGraw-Hill Companies, Inc. All rights reserved 20 Skill 2.7 An attachment is another file stored in a field.

A Skills Approach Using Attachment Fields © 2012 The McGraw-Hill Companies, Inc. All rights reserved 21 Skill 2.7 An attachment might be an image, a Word document, an Excel workbook, a video clip, or other similar data. An attachment field cannot be renamed. The attachment itself is not visible in Datasheet view. It is shown as a paperclip icon. Attachments are limited to 256 MB. You cannot attach program files (.exe or.bat)

A Skills Approach Using Attachment Fields © 2012 The McGraw-Hill Companies, Inc. All rights reserved 22 Skill 2.7 Double-click the field in the table to open the Attachments dialog box.

A Skills Approach Modifying Field Properties in Datasheet View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 23 Skill 2.8 Field properties affect the appearance and behavior of fields.

A Skills Approach Modifying Field Properties in Datasheet View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 24 Skill 2.8 The Table Tools Fields tab includes properties, formatting, and field validation settings.

A Skills Approach Creating a Table in Design View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 25 Skill 2.9 To create a table in Design view, name each field, choose the data type, enter an optional description, and set options in the Field Properties pane.

A Skills Approach Creating a Table in Design View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 26 Skill 2.9

A Skills Approach Setting the Primary Key © 2012 The McGraw-Hill Companies, Inc. All rights reserved 27 Skill 2.10 The primary key is a field that contains unique data in each record.

A Skills Approach Setting the Primary Key © 2012 The McGraw-Hill Companies, Inc. All rights reserved 28 Skill 2.10 Primary Key TypeDescription AutoNumberThis is an automatically assigned numeric ID. It cannot be keyed or edited. When data do not include a field that is unique for each record, use this as the data type. Single FieldIf data include a field that is unique for each record (product ID, employee ID, part number), set this field as the primary key. Multiple FieldsWhen data do not have a unique field, create a multiple-field primary key. Hold down the Ctrl key to select multiple row selectors and then click the Primary Key button.

A Skills Approach Setting the Primary Key © 2012 The McGraw-Hill Companies, Inc. All rights reserved 29 Skill 2.10 This primary key uses a client’s first and last names as unique identifiers.

A Skills Approach Adding and Deleting Fields in Design View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 30 Skill 2.11 You can add a field by inserting a row or by using the first blank row.

A Skills Approach Adding and Deleting Fields in Design View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 31 Skill 2.11 Click the Row Selector to choose a field for deletion.

A Skills Approach Modifying Field Properties in Design View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 32 Skill 2.12 Field properties include a field size or how data is formatted.

A Skills Approach Modifying Field Properties in Design View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 33 Skill 2.12 An Input Mask shows a user how to enter data. The Allow Zero Length property indicates that a field may be left blank.

A Skills Approach Modifying Field Properties in Design View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 34 Skill 2.12 There are several predefined masks. Data can be stored without the symbols to save space. Use the Input Mask Wizard to build a mask.

A Skills Approach Modifying Field Properties in Design View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 35 Skill 2.12 The user sees this when entering data. Here is the Input Mask in Design View.

A Skills Approach Adding a Lookup Field from a List in Design View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 36 Skill 2.13 A Lookup field can be created in Datasheet or Design View.

A Skills Approach Adding a Lookup Field from a List in Design View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 37 Skill 2.13 Set the Data Type in Design View to start the Lookup Wizard.

A Skills Approach Adding a Lookup Field from a List in Design View © 2012 The McGraw-Hill Companies, Inc. All rights reserved 38 Skill 2.13

A Skills Approach Modifying Lookup Field Properties © 2012 The McGraw-Hill Companies, Inc. All rights reserved 39 Skill 2.14 Add or remove items from a list Set how many columns are displayed Control how users interact with the list A lookup field can be modified. You can:

A Skills Approach Modifying Lookup Field Properties © 2012 The McGraw-Hill Companies, Inc. All rights reserved 40 Skill 2.14 There is a Modify Lookups button on the Fields tab in Datasheet View. The button opens the Lookup Wizard.

A Skills Approach Modifying Lookup Field Properties © 2012 The McGraw-Hill Companies, Inc. All rights reserved 41 Skill 2.14 The Lookup tab in the Field Properties pane in Design view lists the options that can be modified.

A Skills Approach Modifying Table Properties © 2012 The McGraw-Hill Companies, Inc. All rights reserved 42 Skill 2.15 The table Property Sheet opens on the right in Design View.

A Skills Approach Modifying Table Properties © 2012 The McGraw-Hill Companies, Inc. All rights reserved 43 Skill 2.15 Table PropertyPurpose DescriptionProvide general information or instructions about the table Default ViewSelect a view other than Datasheet view. A table cannot open by default in Design View. Validation Rule Validation Text Define rules for how fields relate to one another such as that a field value must be larger than the value in another field. Validation Text is the message that appears when the rule is violated. FilterSet a permanent filter to show only records that meet criteria defined in this property Order ByDefine a default sort order for the table other than the primary key

A Skills Approach Renaming and Deleting Tables © 2012 The McGraw-Hill Companies, Inc. All rights reserved 44 Skill 2.16 Right-click a table name in the Navigation Pane to delete it from the database.

A Skills Approach Renaming and Deleting Tables © 2012 The McGraw-Hill Companies, Inc. All rights reserved 45 Skill 2.16 The command to delete a database object cannot be undone.

A Skills Approach Renaming and Deleting Tables © 2012 The McGraw-Hill Companies, Inc. All rights reserved 46 Skill 2.16 Relationships are not affected when a table is renamed.

A Skills Approach © 2012 The McGraw-Hill Companies, Inc. All rights reserved 47 Creating and modifying tables in Datasheet view Adding a Total row Using Attachment fields Using Lookup fields Creating and modifying tables in Design view Modifying table properties Renaming and deleting tables Working with Tables Recap