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.

Slides:



Advertisements
Similar presentations
Designing Tables in Microsoft Access By Ed Lance.
Advertisements

Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
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
1 Chapter 1 & 2 Relational Databases and Queries CS101 WVU.
Exploring Office Grauer and Barber 1 Tables and Forms: Properties, Views, and Wizards(Wk3)
© Steven Alter, 2007, all rights reserved Database concepts Difference between a database and the Internet Reason for having a defined data structure Relational.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
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.
Data Types and Field Properties 5.01 Understand database tables used in business.
Data type – determines the type of data and range of values that can be entered in a field.
Microsoft Access 2000 Creating Tables and Relationships.
MICROSOFT ACCESS Pn. Jamilah Binti Yusof. DEFINITION A database is the computer equivalent of an organized list of information. Typically, this information.
© 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.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Microsoft Access Intro Class 2 Designing Databases and Tables.
Created by: Tanya Morgan.  Access is the database software of the Microsoft Office suite.  A database is a collection of objects that work together.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Microsoft Access 2010 Building and Using Queries.
Exploring Microsoft Access 2003 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards.
CHƯƠNG 3 Finding, Filtering, and Formatting Data.
Microsoft Access 2013 Design and Create Tables to Store Data Chapter 2.
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.
WEEK 11 Database Design. TABLE INSTANCE CHARTS Create Tables.
1 Web-Enabled Decision Support Systems Access Tables: Building Data Foundation Prof. Name Position (123) University Name.
® 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.
Presented By: Gail Rose-Innes Camps Bay High School ICT & CAT Department Microsoft Access 2010.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Preparing To Automate Data Management Chapter 1 “You.
Using Microsoft Access 56:150 Information System Design.
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.
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.
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.
IE 423 – Design of Decision Support Systems Database development – Building Tables
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.
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.
Microsoft Access.  What is Data ?  Data vs. Information  Database History.  What is a Database?  Examples for Small and Large Databases.  Types.
Introduction to a Database Defining a database Database window in Access The six items in window: Tables, Queries Forms, Reports, Macros, Modules.
Data Types and Field Properties 5.01 Understand database tables used in business.
Data Types and Field Properties continued… Understand database tables used in business.
Part 4 November 15,  Click MS Access 2013  On the MS Access Screen Pane, select Blank Database  Create a name that will reserve as your file.
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
Planning & Creating a Database By Ms. Naira Microsoft Access.
© 2001 ComputerPREP, Inc. All rights reserved. Access 2000: Module II.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
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.
Database Management System Conducted By Provincial Computer Resource Centre Gurudeniya Jayaratna Alahakoon.
Modifying the Database Structure. Objectives Examine relational databasesExamine relational databases Design related tablesDesign related tables Create.
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.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Microsoft Access Prepared by the Academic Faculty Members of IT.
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.
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,
To play, start slide show and click on circle Access 1 Access 2 Access 3 Access 4 Access Access
GO! with Microsoft Office 2016
Microsoft Access 2013 Design and Create Tables to Store Data
GO! with Microsoft Access 2016
Access Lesson 2 Creating a Database
Microsoft Office Illustrated Introductory, Windows XP Edition
Grauer and Barber Series Microsoft Access Chapter Two
More to Learn Different data types
Chapter 2 Design Table and Form.
Lecture 2 Lecturer: awdang aziz MS access
Chapter 2 Design Table and Form.
Presentation transcript:

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 a Blank Database 2. Use a ready made Template.

C REATING A D ATABASE 3 Advantages of using a template are that they are fast and easy. Disadvantage of using a template is that they are not a custom fit for you or your company.

C REATING A D ATABASE FROM SCRATCH U SING A B LANK D ATABASE 4 Advantages: Create only the objects you need Based on the data you want to store Requires less memory because you set field sizes (default text field 255 bytes)

C REATING A D ATABASE FROM SCRATCH U SING A B LANK D ATABASE 5 Disadvantages: Not as fast and easy to create as a template Need to know more about relationship structure if you are building your own May miss out on some very useful features if you do not know what you are doing

V IEWS IN A CCESS - T ABLES 6 Datasheet View – Displays records in a row-and-column format similar to a spreadsheet. Design View – Allows you to design and change the table. Allows you to view the structure and properties of the table.

T ABLE D ESIGN V IEW C OMPONENTS Field names : The name by which Access recognizes a data field. No spaces! Examples: FirstName Location

T ABLE D ESIGN V IEW C OMPONENTS Data Types : A field property that determines what type of data the field can contain (e.g. text, number, yes/no) You must assign a data type to each field Field Properties : A specific attribute of a field (e.g. format, caption, or input mask.

D ATA T YPES Field PropertyType of Data Short Text Default – text or combinations of text and numbers Long Text Lengthy text or combinations of text and numbers Number Numeric data used in mathematical calculations Date/Time Data and time values for the years 100 through 9999

D ATA T YPES Field PropertyType of Data Currency Currency values and numeric data used in mathematical calculations involving data with one to four decimals. AutoNumber Use for unique sequential or random numbers that are automatically inserted when a record is added. Yes/No Use for data that can be only one of two possible values, such as Yes/No, True/False, On/Off OLE Object An object (such as a Microsoft Excel spreadsheet, a Microsoft Word document, graphics, sounds, or other binary data) linked to or embedded in a Microsoft Access table

D ATA T YPES Field PropertyType of Data Hyperlink Use for hyperlinks. A hyperlink can be a UNC path or a URL. Attachment Similar to OLE Object. Attach any supported file; provide greater flexibility than OLE Object fields, and they use storage space more efficiently. Lookup Wizard Use to create a field that allows you to choose a value from another table or from a list of values using a combo box Calculated Stores a formula or expression and updates automatically. Ex: Concatenate first & last name fields

Lookup Fields are used to create a field that displays a list of values from another table or from a list.

C REATING L OOKUP F IELDS – B Y T YPING I N THE V ALUES 1. Select Data Type: Look Up Wizard 2. Check the box for “I will type in the values that I want.” Click Next. 3. Leave the selection for Number of Columns to Underneath where is says Col1, type each value that you want to use. Press the tab key (not Enter) to add additional values. Click Next. 5. Keep all default values and click Finish. NOTE: The data type will default back to “short text”. You can click on the tab “Look Up” in the field properties and you will see the value you typed. 13

C REATING L OOKUP F IELDS – V ALUES FROM ANOTHER O BJECT

C REATING L OOKUP F IELDS BY G ETTING V ALUES F ROM A NOTHER O BJECT 1. Select Data Type: Look Up Wizard 2. I want to select data from a Table or Query 3. Next 4. Select the Table or Query 5. Next 6. Select the field or fields you want 7. Next 8. Sort if you want 9. Next 10. Adjust the column width if needed 11. Next 12. Finish NOTE: The data type will default back to “short text”. You can click on the tab “Look Up” in the field properties and you will see the value you selected from the tables/queries. 15

C REATING A TTACHMENT F IELDS An attachment field allows you to attach an external file to a record You can attach a Word document, PowerPoint Presentation, Excel workbook, or image file The attachment data type stores data efficiently stores many file formats, including JPEG images requires no additional software to view the files from within Access. 16

F IELD P ROPERTIES 17 Field properties are the characteristics that apply to each field in a table. These properties help ensure database accuracy and clarity because they restrict the way data is entered, stored, and displayed.

M ODIFYING F IELD P ROPERTIES 18 Field Size Default Value Required

M ODIFYING F IELD P ROPERTIES 19 Input Mask Build Button

M ODIFYING N UMBER AND C URRENCY F IELDS 20

M ODIFYING D ATE /T IME F IELDS 21 Can also type in a custom format such as mm/dd/yyyy

M ODIFYING V ALIDATION P ROPERTIES The Validation Rule property determines what entries a field can accept. For example, a Validation Rule for a Date/Time field might require date entries on or after 1/1/2010 Access automatically adds # signs (syntax) before and after the date to identify it as a date. The Rule will be displayed as >=#1/1/2010# 22

M ODIFYING V ALIDATION P ROPERTIES The Validation Text property is used to display an explanatory message when a user tries to enter data that doesn’t meet the criteria for a valid field entry established by the Validation Rule. Date must be on or after 1/1/

C ALCULATED D ATA T YPE Concatenate – joining two values to display them as a single value. Ex. First and Last Name fields Calculated Data – Performs calculations using data in one record. 24