Modifying the Database Structure. Objectives Examine relational databasesExamine relational databases Design related tablesDesign related tables Create.

Slides:



Advertisements
Similar presentations
1 Chapter 1 & 2 Relational Databases and Queries CS101 WVU.
Advertisements

Exploring Office Grauer and Barber 1 Tables and Forms: Properties, Views, and Wizards(Wk3)
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
BA271 Week 7 Lecture Building the database Dave Sullivan.
Introduction to Databases CIS 5.2. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Data Types and Field Properties 5.01 Understand database tables used in business.
LESSON 17 PREPARED BY MANJU. database A database is a collection of related information Access is the Microsoft Office database program that enables you.
Database Applications – Microsoft Access Lesson 2 Modifying a Table and Creating a Form 45 slides in presentation Accessibility check 9/14.
Microsoft Access 2000 Creating Tables and Relationships.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
Tables. What is a Table? A part of a database Container for data Pieces of data, put together, have a meaning.
© 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.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Access Tutorial 2 Building a Database and Defining Table Relationships
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Created by: Tanya Morgan.  Access is the database software of the Microsoft Office suite.  A database is a collection of objects that work together.
Exploring Microsoft Access Chapter 4 Relational Databases, External Data, Charts, and the Switchboard.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Designing a Database (Part I) -Identify all fields needed to produce the required information -Group related fields into tables -Determine Each Table’s.
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.
XP New Perspectives on Microsoft Access 2002 Tutorial 21 Microsoft Access Tutorial 2 – Creating And Maintaining A Database.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 23 Getting Started with Access Essentials 1 Morrison / Wells / Ruffolo.
® 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.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Preparing To Automate Data Management Chapter 1 “You.
Access Project 3 Notes. Introduction Maintaining the Database  Modifying the data to keep it up-to-date Restructure the Database  To change the database.
Using Microsoft Access 56:150 Information System Design.
Microsoft Office Illustrated Introductory, Premium Edition Using Tables and Queries.
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?
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
Unit 5, Lesson 1 Working with Databases. Objectives Identify the parts of the Access screen. Identify the parts of the Access screen. Understand the purpose.
IE 423 – Design of Decision Support Systems Database development – Building Tables
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.
Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.
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.
Microsoft Access 2010 Chapter 3 Maintaining a Database.
CSC 240 (Blum)1 Introduction to Access CSC 240 (Blum)2 Click on the Access desktop icon or go to Start/Programs/Microsoft Office/Microsoft Office.
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards.
1 11 Exploring Microsoft Office Access 2007 Chapter 6 Data Protection.
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.
Microsoft Access Database Creation and Management.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
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.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
F IELD P ROPERTIES 1 Characteristics that apply to each field in a table. Help ensure database accuracy and clarity Restrict the way data is entered, stored,
DAY 20: ACCESS CHAPTERS 5, 6, 7 Larry Reaves October 28,
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
Creating a database table
Building Tables & Defining Relationships
Microsoft Office Access 2010 Lab 2
CIS 155 Table Relationship
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Presentation transcript:

Modifying the Database Structure

Objectives Examine relational databasesExamine relational databases Design related tablesDesign related tables Create one-to-many relationshipsCreate one-to-many relationships Create Lookup fieldsCreate Lookup fields Modify Short Text fieldsModify Short Text fields Microsoft Office 2013-Illustrated2

Objectives Modify Number and Currency fieldsModify Number and Currency fields Modify Date/Time fieldsModify Date/Time fields Modify validation propertiesModify validation properties Create Attachment fieldsCreate Attachment fields Microsoft Office 2013-Illustrated3

Examining Relational Databases The purpose of a relational database is to organize and store data in a way that minimizes redundancy and maximizes your flexibility when querying and analyzing dataThe purpose of a relational database is to organize and store data in a way that minimizes redundancy and maximizes your flexibility when querying and analyzing data Microsoft Office 2013-Illustrated4

Examining Relational Databases To redesign a list into a relational database:To redesign a list into a relational database: Design each table to contain fields that describe only one subjectDesign each table to contain fields that describe only one subject Identify a primary key field for each tableIdentify a primary key field for each table Build one-to-many relationshipsBuild one-to-many relationships 5Microsoft Office 2013-Illustrated

Examining Relational Databases 6Microsoft Office 2013-Illustrated

Designing Related Tables After you develop a valid relational database design, you are ready to define the tables in Access.After you develop a valid relational database design, you are ready to define the tables in Access. Using Table Design View, you can specify all characteristics of a table including field names, data types, field descriptions, field properties, Lookup properties, and primary key field designations.Using Table Design View, you can specify all characteristics of a table including field names, data types, field descriptions, field properties, Lookup properties, and primary key field designations. 7Microsoft Office 2013-Illustrated

Designing Related Tables 8Microsoft Office 2013-Illustrated

Creating One-to-Many Relationships After creating the tables you need, you link them together in appropriate one-to-many relationships using the primary key field in the “one” table and the foreign key field in the “many” table.After creating the tables you need, you link them together in appropriate one-to-many relationships using the primary key field in the “one” table and the foreign key field in the “many” table. To avoid rework, be sure that your table relationships are finished before building queries, forms, or reports using fields from multiple tables.To avoid rework, be sure that your table relationships are finished before building queries, forms, or reports using fields from multiple tables. 9Microsoft Office 2013-Illustrated

Creating One-to-Many Relationships 10Microsoft Office 2013-Illustrated

Creating Lookup Fields A Lookup field is a field that contains Lookup properties.A Lookup field is a field that contains Lookup properties. Lookup properties are field properties that supply a drop-down list of values for a field.Lookup properties are field properties that supply a drop-down list of values for a field. The values can be stored in another table or directly stored in the Row Source Lookup property of the field.The values can be stored in another table or directly stored in the Row Source Lookup property of the field. You can set Lookup properties for a field in Table Design View using the Lookup Wizard.You can set Lookup properties for a field in Table Design View using the Lookup Wizard. 11Microsoft Office 2013-Illustrated

Creating Lookup Fields 12Microsoft Office 2013-Illustrated

Modifying Short Text Fields Field properties are the characteristics that describe each fieldField properties are the characteristics that describe each field Field SizeField Size Default ValueDefault Value CaptionCaption Row SourceRow Source These properties help ensure database accuracy and clarityThese properties help ensure database accuracy and clarity 13Microsoft Office 2013-Illustrated

Modifying Short Text Fields 14Microsoft Office 2013-Illustrated

Common Short Text Field Properties 15Microsoft Office 2013-Illustrated

Modifying Number and Currency Fields Number and Currency fields have similar properties because they both contain numeric values.Number and Currency fields have similar properties because they both contain numeric values. Currency fields store values that represent money, and Number fields store values that represent values such as quantities, measurements, and scores.Currency fields store values that represent money, and Number fields store values that represent values such as quantities, measurements, and scores. 16Microsoft Office 2013-Illustrated

Common Number Field Properties 17Microsoft Office 2013-Illustrated

Modifying Date/Time Fields Many properties of the Date/Time field work the same way as they do in fields with a Short Text or Number data type.Many properties of the Date/Time field work the same way as they do in fields with a Short Text or Number data type. One difference, however, is the Format property, which helps you format dates in various ways such as January 25, 2013; 25-Jan-13; or 01/25/2013.One difference, however, is the Format property, which helps you format dates in various ways such as January 25, 2013; 25-Jan-13; or 01/25/ Microsoft Office 2013-Illustrated

Modifying Validation Properties The Validation Rule property determines what entries a field can accept.The Validation Rule property determines what entries a field can accept. You use the Validation Text property to display an explanatory message when a user tries to enter data that breaks the validation rule.You use the Validation Text property to display an explanatory message when a user tries to enter data that breaks the validation rule. 19Microsoft Office 2013-Illustrated

Validation Text Message 20Microsoft Office 2013-Illustrated

Validation Rule Expressions 21Microsoft Office 2013-Illustrated

Creating Attachment Fields An Attachment field allows you to attach an external file to a record.An Attachment field allows you to attach an external file to a record. The Attachment data type is superior to OLE because it stores data more efficiently, stores more file formats, and requires no additional software to view the files from within Access.The Attachment data type is superior to OLE because it stores data more efficiently, stores more file formats, and requires no additional software to view the files from within Access. 22Microsoft Office 2013-Illustrated

Creating Attachment Fields 23Microsoft Office 2013-Illustrated