access advanced

Upload: cnu115

Post on 07-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 Access Advanced

    1/21

    Microsoft Access

    Advanced

  • 8/6/2019 Access Advanced

    2/21

    The Instructors

    Allyson Mower, Digital Initiatives,

    581-5263, [email protected]

    Alice Weber, Collection Development,

    587-9247, [email protected]

    Joan Gregory, Technical Services,

    581-5269, [email protected]

  • 8/6/2019 Access Advanced

    3/21

    Your Expectations/Experience?

  • 8/6/2019 Access Advanced

    4/21

    Class Objectives

    Overview of some basic database design

    principles

    Create a sample MS Access databasefrom scratch

    Modify database objects

    Learn how to import data from otherprograms

  • 8/6/2019 Access Advanced

    5/21

    Definitions

    MS Access - software used for

    creating databases

    Data are just information

    Database

    Collection of data/information

    Related to a particular topic or project

  • 8/6/2019 Access Advanced

    6/21

    Basic

    DatabaseDesign Principles

    Avoid Duplication Tables, fields, records

    Enforce Data Integrity Data are referenced throughout the entire

    database so that changes made in one tableaffect other tables

    Ensure Data Accuracy Formats (mm-dd-yyyy), pick lists, controlled

    vocabulary

  • 8/6/2019 Access Advanced

    7/21

    Main PartsofDatabaseDesign

    Mission Statement

    Tables

    Fields

    Identifying Relationships

    Enforcing Integrity

  • 8/6/2019 Access Advanced

    8/21

    SampleDatabaseScenario

    A VERY simple example

    A small business owner with three staff

    members needs to contact customers by

    phone.

  • 8/6/2019 Access Advanced

    9/21

    Mission Statement

    A mission statement clearly explains

    the purpose of the database

    Sample mission statement:

    The contact management database will

    keep track of customers, the calls made,

    and by whom.

  • 8/6/2019 Access Advanced

    10/21

    Mission Statement >>Tables

    The mission statement is used todevelop a list of tables.

    The contact management database will keeptrack of customers, the calls made, and bywhom.

    Each table represents a singlesubject, object or event.

    Avoid duplication

  • 8/6/2019 Access Advanced

    11/21

    Tables

    Customers

    Keep track of customers

    Calls

    the calls made

    Employees

    and by whom

  • 8/6/2019 Access Advanced

    12/21

    Tables >>Fields

    Tables are made up of fields thatrepresent a characteristic of the

    subject, object or event For example, each person has: First name Last name

    Phone number

    Avoid duplication by specific naming

  • 8/6/2019 Access Advanced

    13/21

    Fieldsin theCallsTable

    These fields represent characteristics of the

    Calls:

    Call ID Customer ID

    Employee ID

    Call Date

    Call Time Call Subject

    Call Notes

  • 8/6/2019 Access Advanced

    14/21

    Required Fields

    Each table must have a Primary Keyfield

    to uniquely identify a record to establish relationships between tables Typically, it is an auto-generated number

    Foreign Key fields are required only:

    to facilitate relationships between tables to enforce data integrity

  • 8/6/2019 Access Advanced

    15/21

    Fieldsin theCallsTable:

    Primary Key

    These fields represent characteristics of the

    Calls:

    Call ID Customer ID Employee ID

    Call Date

    Call Time Call Subject

    Call Notes

  • 8/6/2019 Access Advanced

    16/21

    Fieldsin theCallsTable:

    Foreign Keys

    These fields represent characteristics of the

    Calls Table:

    Call IDCustomer IDEmployee ID Call Date

    Call Time Call Subject

    Call Notes

  • 8/6/2019 Access Advanced

    17/21

    Main PartsofDatabaseDesign

    Mission Statement

    Tables

    Fields

    Identifying Relationships

    Enforcing Integrity

  • 8/6/2019 Access Advanced

    18/21

    WhatYou Dont Know

    Can CauseYou Problems

    Database design requires:

    Thinking through what you want andneed out of your database

    Assessing whether or not you havethe skills to create that database

    Recognizing when you needdatabase programming expertise

  • 8/6/2019 Access Advanced

    19/21

    MS Access anditsTemplates

    Can Help You Test your database design ideas

    Determine if your database is simple or complex

    Create a simple database from scratch Create a more complex database using

    templates

    Identify when you need a database programmer

    Help you explain what you want to a databaseprogrammer, so the results meet your needs

  • 8/6/2019 Access Advanced

    20/21

    Questions

  • 8/6/2019 Access Advanced

    21/21

    Nowfor the Hands-On Practice!

    MS Access Tutorial