 Microsoft Access is one of two primary database offering from Microsoft.  Access is a network/desktop-based database.  Advantage: It is easy to use.

Slides:



Advertisements
Similar presentations
Course Form In the main window (cf. Figure 2), click on Forms, then double-click on Create form by using wizard. Follow the sequence of actions below.
Advertisements

Designing Tables in Microsoft Access By Ed Lance.
Microsoft Access.
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
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
Access Lesson 2 Creating a Database
Chapter 1 Databases and Database Objects: An Introduction
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
Database Design Concepts INFO1408 Term 2 week 1 Data validation and Referential integrity.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
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.
Database terms Mr. Brunton.
Chapter 3 Maintaining a Database
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.
Access Lesson 2 Creating a Database
Unit J: Creating a Database Microsoft Office Illustrated Fundamentals.
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.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Microsoft Access Intro Class 2 Designing Databases and Tables.
Access Tutorial 2 Building a Database and Defining Table Relationships
Chapter 6 Advanced Report Techniques
® 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?
CSS/417 Introduction to Database Management Systems Workshop 2.
Exploring Microsoft Access 2003 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards.
Microsoft Access – Tutorial 2 Designing Databases In this tutorial, we will create a new database create a new table import tables from an existing database.
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.
® Microsoft Office 2010 Access Tutorial 2 Building a Database and Defining Table Relationships.
1 By: Nour Hilal. Microsoft Access is a database software where data is stored in one or more Tables. A Database is a group of related Tables. Access.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
1 Web-Enabled Decision Support Systems Access Tables: Building Data Foundation Prof. Name Position (123) University Name.
Database Systems Microsoft Access Practical #1 Creating Tables Nos 215.
Key Applications Module Lesson 21 — Access Essentials
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Using Microsoft Access 56:150 Information System Design.
Microsoft Access 2010 Chapter 10 Administering a Database System.
BUSINESS DRIVEN TECHNOLOGY Plug-In T5 Touring Access.
Database collection of related information stored in an organized form Database program software tool for storage & retrieval of that information.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
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.
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.
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.
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.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
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.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
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.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Microsoft ® Office 2007 PowerPoint Lecture to Accompany.
Access Tutorial 2 Building a Database and Defining Table Relationships
Creating a database table
Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards
Unit J: Creating a Database
Presentation transcript:

 Microsoft Access is one of two primary database offering from Microsoft.  Access is a network/desktop-based database.  Advantage: It is easy to use.  Although feature rich, Access is limited by both the amount of data it can store and the number of users it can service simultaneously. Introduction

 Start When first start Access, choose to open a blank database in the first window that is displayed on start-up. Start Access

 Start window Access 2000 after start-up: This is the main window from which you will reach all the objects that we create within Access. First, creat a table Start window

 A mini world ER-diagram Mini World

 Tables In very short words, we have students that participate in courses that are held by institutions. We need to implement the following tables (primary keys underlined, foreign keys in italics): Mini World

 Using design view In design view, you enter column names, types, and other properties as textual data in a sheet as shown in Figure 4 Create the tables

 Choose InstID as field name with data type AutoNumber.  Right-click on InstID and choose Primary key from the background menu.  Choose InstAbbr as next field name with data type Text. In the General-tab,  adjust Field Size to a suitable value,  set Format to > for converting all input characters to capital characters (pressing F1 when the cursor is positioned in the Format-field will give you the full syntax for Format),  set Caption to a string that you want to display as heading for this column,  make the field a required field by setting Required to Yes  Choose InstName as next field name with data type Text, adjust settings in the General-tab if desired.  Save the table (e.g. with Ctrl-S) and give it the name Institution. Creating the institution table in design view, step by step

 From the design view, you can view extended properties for a field Data TypeDescription Maximum Size TextCharacter data255 bytes MemoCharacter data64k NumberNumeric data8 bytes Date/TimeDate and time data8 bytes CurrencyMonetary data8 bytes AutonumberAutoincrementing 4 bytes numeric data Yes/NoTrue/False logical 1 bit data Standard Data Types Supported by Access

 For more field attributes Description: The Description property enables you to provide descriptive information about the field. A description can be up to 255 characters long Field Size: The Field Size property enables you to specify the maximum size of data stored in the field. Format: The Format property controls how data appears when displayed. This property enables you to customize how numbers, currence, text, and date-time data appear. Input Mask: The Input Mask property provides a mechanism for making data entry easier. Caption: The Caption property specifies the contents of the descriptive label that is used on a form or report in which the field is used. The Caption property also specifyies the contents of the column header for a field in the Datalist View. Field Attributes

Default Value: The Default Value property specifies the value that is automatically entered into the field when a new record is created. Validation Rule: The Validation Rule property specifies a condition that an entered value must satisfy. Validation Text: The Validation Text property specifies the message text displayed to the user when the validation rule fails. The Maximum size of a validation text property is 255 characters. Required: The Required property specifies whether a data value is required for the field. Allow Zero Length: The Allow Zero Length property specifies whether a zero-length string is a valid entry. Indexed: The Indexed property specifies whether an index is created for the field. Field Attributes, cont.

 Open the table in datasheet view and enter a few records (cf. Figure 6).  Closing the window will automatically save the table data. Close the window. Creating the institution table in design view, step by step

 Choose CourseID as a field name with data type AutoNumber.  Make it the primary key (right-click and set).  For the other fields, follow the table and figures below. Creating the course table in design view, step by step

 Choose StudentID as a field name with data type AutoNumber.  Make it the primary key (right-click and set).  For the other fields, follow the entries of Figure 7.  The birthdate (cf. Figure 7) should have a format and input mask. Experiment with validation rules. In this example, birth dates that are in the future are not allowed. Creating the student table in design view, step by step

 The student admission date should default to the current date and be a required field (cf. Figure 8).

 Choose PartStudentID as a field name with data type Lookup Wizard and point out the column StudentID of table Student as the reference.  Choose PartCourseID as a field name with data type Lookup Wizard and point out the column CourseID of table Course as the reference.  Make both PartStudentID and PartCourseID the primary key (mark both, right-click and set).  Add the column PartYear, which denotes the year in which the student first registered for the course, make it a Number field and set a reasonable default (cf. Figure 9). Creating the participate table in design view, step by step

 Choose from the menu, Tools Relationships…That will display a window as shown in Figure 10: Creating referential integrity constraints  Double-click on each of the connecting black lines between foreign keys and primary keys. After a double- click, an Edit Relationships-window appears (cf. Figure 11).  Enforce referential integrity by checking the check boxes as shown below. Now, when an institution is deleted, all depending courses will be deleted.

Creating referential integrity constraints  Make equivalent changes for the other two connections.