ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.

Slides:



Advertisements
Similar presentations
Microsoft Access.
Advertisements

Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Access Lesson 2 Creating a Database
Chapter 1 Databases and Database Objects: An Introduction
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying 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.
Access Tutorial 1 Creating a Database
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.
Querying a Database Microsoft Office Access 2003.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
Microsoft Access – Tutorial 1 if you need to review general Microsoft Office procedures such as: menus toolbars task panes files help printing please go.
Microsoft Access Database software. What is a database? … a database is an organized collection of data. A collection of data of similar information compiled.
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
Chapter 3 Maintaining a Database
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
1 Microsoft Access 2002 Tutorial 3 – Querying a Database.
Unit J: Creating a Database Microsoft Office Illustrated Fundamentals.
Access Tutorial 2 Building a Database and Defining Table Relationships
Microsoft Access – Tutorial 1 if you need to review general Microsoft Office procedures such as: menus toolbars task panes files help printing please go.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
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/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
® 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.
Office Management Tools II Ms Saima Gul.  When you create your tables, you should assign each table a primary key—one or more fields whose contents are.
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 Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Key Applications Module Lesson 21 — Access Essentials
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
® 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.
Microsoft Access Intro Class 6 Relationships.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
® Microsoft Office 2013 Access Creating a Database.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Creating Related Tables Creating Related Tables Determining.
Introduction to Database using Microsoft Access 2013 Part 7 November 19, 2014.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
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.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
CHAPTER 1 – INTRODUCTION TO ACCESS Aliya Farheen March 5, 2014.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
XP New Perspectives on Microsoft Access 2002 Tutorial 31 Microsoft Access 2002 Tutorial 3 – Querying a Database.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Work with Tables and Database Records Lesson 3. NAVIGATING AMONG RECORDS Access users who prefer using the keyboard to navigate records can press keys.
Ennis-Cole, AC 2.01, CECS Maintaining A Database By: Dr. Ennis-Cole.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
Chapter 1 Introduction to Database. Database Concept Field: a basic data element or attribute of an object Record: a set of fields Table: a set of records.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
1 Access Lesson 1 Understanding Access Fundamentals Microsoft Office 2010 Fundamentals Story / Walls.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Microsoft ® Office 2007 PowerPoint Lecture to Accompany.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Creating a Database
Access Creating a Database
Examples of Poor Primary Keys
Access Lesson 1 Understanding Access Fundamentals
Microsoft Office Access 2003
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Introduction to Access
Unit J: Creating a Database
Presentation transcript:

ACCESS CHAPTER 1

OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship

EXAMPLE Download Books.accdb file. Access database system files have.accdb as filename extension.

DATABASE WINDOW In the Object Bar on the left Tables – Where the data is stored Queries – Questions asked about the data Forms – Provide an interface to view & maintain records Reports – Display information in a nicely formatted way

OPENING A TABLE In the Tables area, double click Authors You should see 7 records showing in Datasheet view Datasheet view – Allows us to see the records that have been entered into a table. Number of records is shown at the bottom bar.

DATASHEET VIEW Datasheet view shows a table’s contents in rows and columns like a spreadsheet would Each Field Name is inside a clickable “Field Selector” that will highlight that column Each row has a clickable “Record Selector” to its left…

Navigating a Datasheet

TABLE VIEWS Datasheet View :Allows the user to add, edit, and delete records within a table. Design View :Allows the user to create tables, add and delete fields, and modify field properties. Fields can be assigned data types, such as text (the default), number, currency, etc. Field properties show the characteristics of the fields in more detail.

PRIMARY AND FOREIGN KEYS Primary Key: To uniquely identify records in a table. Foreign Key: The primary key of other table present in it. i.e., a borrowed Primary Key. E.g. Author ID is primary key of Author table. AuthorCode(which is Author ID) in Books table is Foreign key.

ADDING RECORDS Click the “New Record” button at the bottom Enter 18 for the Author ID Enter “C.S.” for a Author’s Last Name. Enter “Lewis” for a Author’s First Name. Save the table and close it.

SAVE AND CLOSE Do remember to Save and Close each object before moving to the other one! Work systematically. Always name the objects etc., with appropriate names as per context.

EDITING A RECORD Edit record 7 in Author table with your first and last names. Press Enter or Tab The record has been saved when the pencil sign to the left disappears

DELETING A RECORD Deleting a record is permanent  once it’s deleted, it’s gone. You can’t get it back. Delete Author ID 12 record.. Select the record by clicking on the left “Record Selector” next to 12 Right Click Delete Record – Confirm that  It’s GONE

FORMS They are used to add, maintain, and view records in a database Easier to use if you are not so familiar with the database interface –Make it easy for anyone to work with information in a table in a simple interface

USING A EXISTING FORM Close the Table Under “Forms” in the object bar, Double click Maintain Authors Click the last record button to see your entries added and edited.

ADDING RECORDS WITH FORMS Use the controls to return to the first record You should see 8 records. Create a new record: Author ID as 19, First Name as Morris and Last Name as Mano.

REPORTS A report is an output of data arranged in the order you specify. Reports can perform calculations and display the results. Reports can be used to print data.

USING AN EXISTING REPORT Close the form In Reports object bar area Double click Publishers, Books and Authors Report Find your two entries under the appropriate publishers

QUERIES A Query is a question one asks about the data stored in a database Access responds by displaying specific records that answer the question In creating a query, we tell access which fields are needed and what criteria needs to be met

AN EXISTING QUERY Close the report In the Queries area of the objects bar, Double-click Publishers, Books, and Authors Query You should see your 15 records

UNDERSTANDING TABLE RELATIONSHIPS Efficiently combine data from related tables To create queries, forms, and reports Primary and foreign keys play an important role in creating relationships. Tables may be joined based on a common field.

TYPES OF RELATIONSHIPS One-to-one relationship One-to-many relationship Many-to-many relationship Access will take care of it for us!

REFERENTIAL INTEGRITY To establish tighter relationship! It prohibits the user from deleting a record from one table when there are related records in other tables. It allows you to enter a foreign key value only after entering it as primary key value in the primary table.

ESTABLISHING REFERENTIAL INTEGRITY Edit Relationships dialog box Select Enforce Referential Integrity checkbox

CASCADE OPTIONS To establish dependencies between joined tables. Cascade Update Related Fields: When the primary key is modified in a primary table, Access will automatically update all foreign key values in a related table. Cascade Delete Related Records: When the primary key is deleted in a primary table, Access will automatically delete all records in related tables that reference the primary key(Deletions….Be cautious!)

SET CASCADE OPTIONS