Introduction to Database Concepts and Microsoft Access 2010. Database Concepts and Access 2010. Things to Do. Introduction Database Microsoft Access



Similar documents
Introduction to Database Concepts and Microsoft Access 2010 Instructor Notes

Microsoft Access 2010: Basics & Database Fundamentals

Microsoft Access 2010 Basics & Database Fundamentals

Microsoft Access Part I (Database Design Basics) ShortCourse Handout

Microsoft Access 2010 Advanced Queries

Database Applications Microsoft Access

Using Microsoft Access Databases

Getting Started with Access 2007

ECDL. European Computer Driving Licence. Database Software BCS ITQ Level 1. Syllabus Version 1.0

Microsoft Access 2010 Tables & Field Properties

Microsoft Access 2007 Module 1

Word 2007: Mail Merge Learning Guide

Microsoft. Access HOW TO GET STARTED WITH

Lab 2: MS ACCESS Tables

Access 2010 Intermediate Skills

Microsoft Access XP Session 1 Week 8

Use Find & Replace Commands under Home tab to search and replace data.

Microsoft Access 2010 Part 1: Introduction to Access

Intellect Platform - Tables and Templates Basic Document Management System - A101

MICROSOFT OUTLOOK 2010 WORK WITH CONTACTS

Introduction to Microsoft Access 2013

Microsoft Access Basics

Microsoft Access 2007 Introduction

Introduction to Microsoft Access

Working with Access Tables A Continuation

Access I Tables, Queries, Forms, Reports. Lourdes Day, Technology Specialist, FDLRS Sunrise

Creating and Using Databases with Microsoft Access

What is a database? The parts of an Access database

Microsoft Access 2003 Module 1

Access Part 2 - Design

INTRODUCTION TO DATABASES USING MICROSOFT ACCESS

EditAble CRM Grid. For Microsoft Dynamics CRM. How To Guide. Trial Configuration: Opportunity View EditAble CRM Grid Scenario

Objectives. Understand databases Create a database Create a table in Datasheet view Create a table in Design view

Introduction to Microsoft Access 2010

Using Microsoft Access

Database File. Table. Field. Datatype. Value. Department of Computer and Mathematical Sciences

Table and field properties Tables and fields also have properties that you can set to control their characteristics or behavior.

Tutorial 3. Maintaining and Querying a Database

Microsoft Office 2010

PROJECT ON MICROSOFT ACCESS (HOME TAB AND EXTERNAL DATA TAB) SUBMITTED BY: SUBMITTED TO: NAME: ROLL NO: REGN NO: BATCH:

Microsoft Access Introduction

How To Understand The Basic Concepts Of A Database And Data Science

Microsoft Access 2000

MICROSOFT ACCESS 2003 TUTORIAL

Lesson 07: MS ACCESS - Handout. Introduction to database (30 mins)

A database is a collection of data organised in a manner that allows access, retrieval, and use of that data.

Access Queries

6/21/12 Procedure to use Track-It (TI) Self Service version 10 and later

Microsoft Access 2010 Overview of Basics

Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro

Access Tutorial 1 Creating a Database. Microsoft Office 2013 Enhanced

Setting up a basic database in Access 2007

Introduction to Microsoft Access 2003

Unit 10: Microsoft Access Queries

If the database that is required is similar to a template then whole database can be generated by using a template that already exists.

Microsoft Access 3: Understanding and Creating Queries

Using Microsoft Access

Filter by Selection button. Displays records by degree to which they match the selected record. Click to view advanced filtering options

Microsoft Office 2010

How to set up a database in Microsoft Access

Microsoft Access to Microsoft Word Performing a Mail Merge from an Access Query

Click to create a query in Design View. and click the Query Design button in the Queries group to create a new table in Design View.

Query 4. Lesson Objectives 4. Review 5. Smart Query 5. Create a Smart Query 6. Create a Smart Query Definition from an Ad-hoc Query 9

ABOUT ACCESS & THE P-CAP DATABASE

Installing Active Directory

Tutorial 3 Maintaining and Querying a Database

Access Queries (Office 2003)

Chapter 5. Microsoft Access

IBM SPSS Direct Marketing 22

Getting Started With SPSS

Access Tutorial 3 Maintaining and Querying a Database. Microsoft Office 2013 Enhanced

Creating a Database in Access

Creating Tables ACCESS. Normalisation Techniques

Access II 2007 Workshop

Planning and Creating a Custom Database

Marketing. o/ . TechStorm NORTH DALLAS PARKWAY SUITE 125 ADDISON, TX,

Creating a Database using Access 2007

Creating tables in Microsoft Access 2007

Microsoft Using an Existing Database Amarillo College Revision Date: July 30, 2008

MS Access Lab 2. Topic: Tables

Customized Reports using Microsoft Access 2010

Microsoft Query, the helper application included with Microsoft Office, allows

IBM SPSS Direct Marketing 23

Microsoft Word 2010 Mail Merge (Level 3)

Using the GroupWise Client

Lab Manual. Databases. Microsoft Access. Peeking into Computer Science Access Lab manual

Online Appointments (Patients)

Search help. More on Office.com: images templates

AFN-SchoolStoreManagerGuide

To determine the fields in a table decide what you need to know about the subject. Here are a few tips:

Information Technology Services Kennesaw State University

Intro to Mail Merge. Contents: David Diskin for the University of the Pacific Center for Professional and Continuing Education. Word Mail Merge Wizard

Learning Services IT Guide. Access 2013

Introduction to Microsoft Access 2007

Link Crew & WEB Database User Guide. Database 2006

Microsoft Office Access 2007 Basics

Importing TSM Data into Microsoft Excel using Microsoft Query

Access Tutorial 1 Creating a Database

MPI_1201 Employee Reviews Report

EXCEL Using Excel for Data Query & Management. Information Technology. MS Office Excel 2007 Users Guide. IT Training & Development

Transcription:

Introduction to Database Concepts and Microsoft Access 2010 Academic Health Center Training training@health.ufl.edu (352) 273 5051 Database Concepts and Access 2010 Introduction Database Microsoft Access Design and Creation Plan Tables Queries Forms Reports Things to Do Contact your customer support Talk to your ISM Backup Backup Backup 1

What is a Database? A structured collection of related data An filing cabinet, an address book, a telephone directory, a timetable, etc. In Access, your Database is your collection of related tables Data vs. Information Data a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86 Information the meaning given to data in the way it is interpreted: Mr. Murray is a sales person whose annual salary is $35,000 and whose hire date is July 18, 1986. Basic Database Concepts Table Name: Barry Harris A set of related records Record A collection of data about an individual item Phone: 392 5555 Email: bharris@ufl.edu Name: Barry Harris Phone: 392 5555 Email: bharris@ufl.edu Field A single item of data common to all records Name: Barry Harris 2

Example of a Table Fields Records Name GatorLink Phone College Smith rsmith 392 3900 Pharmacy Thomas bthomas 392 5555 Medicine Van Winkle sleepyguy 846 5656 PHHP Design and Document Your Database A designers best tools are a pencil and paper It is important to plan what you are going to do The sooner you touch the computer the sooner you ll make a mistake If you don t plan you will often have to start again Document what you are doing Will you remember what you did in three months time? Questions To Ask Yourself What have I got? (Inputs) What do I want? (Outputs) What do I need to do to get there? (Process) How am I going to build it? (Application/Program) 3

Database Options Freeware/ Shareware Microsoft Excel Microsoft Access Oracle/SQL Simplicity Basics Intermediate Advanced # of Users 1 1 Multiple Hire a programmer Multiple of Multiples Multiple datasets Security No No Yes Yes Always consult with your computer security team if you are working with any sensitive data. Why Use Access? Familiar look and feel of Windows Easy to start building simple databases Can build sophisticated systems It s already on your computer True relational database What is a Relational Database? A relational database is a collection of tables from which data can be accessed in many different ways without having to reorganize the database tables. Thatis is, oncerelationships arecreated created, tablescan talk to each other. We can link (relate) the tables to find: Which doctors have seen a patient Which students are in a class Which item is selling the most on Friday s 4

Basic Design Rules Organizing Data Once you ve chosen your fields, you need to decide if they belong in different tables. Data should be kept in separate tables if you have an indeterminate number of entries. One employee can have a number of evaluations. Emp ID First Name Last Name Eval 1 Eval 2 123 456 Sallye Shapiro 1/15/10 1/14/11 125 985 Samuel Smith 1/12/11 248 890 Sidney Samueson Emp ID Eval Date 123 456 1/15/2010 123 456 1/14/2011 123 985 1/12/2011 Basic Design Rules No Derived Fields If a field you are not using as a link exists in another table, it should not be repeated in the current table. Listing it in both places leads to data entry errors. Since we have the Emp ID in both tables, there is no need to include the Employee s Last Name in the Evaluation table. Emp ID First Name Last Name 123 456 Sallye Shapiro 125 985 Samuel Smith 248 890 Sidney Samueson Emp ID Last Name Eval Date 123 456 Shapiro 1/15/2010 123 456 Shapiro 1/14/2011 123 985 Smith 1/12/2011 You can use a query to pull values from both tables into one datasheet. Basic Design Rules Data is broken down into Smallest Logical Parts Each segment of data you want to sort or filter should be kept in its own field. For example, what if I needed to sort by City or Zip Code? Pulling fields together is fairly simple, pulling them apart can difficult. ID Home Address 987 123 West Newberry Road, Gainesville, FL 32601 654 456 South 3rd Road, Apt 12, Newberry, FL 32684 ID Addr1 Addr2 City State Zip 987 123 West Newberry Rd Gainesville FL 32601 654 456 South 3rd Road Apt 12 Newberry FL 32684 You can join fields together in queries, forms and reports. 5

Basic Design Rules Descriptive Field Names Be careful of using too many abbreviations in your field names. You have up to 64 characters, but long field names can be difficult to use in expressions. Be Clear, Be Concise and Be Consistent. ID FN LN DOB DOH SSN CMT 1234 Sallye Shapiro 6/17/1970 7/02/2001 123 450 N/A Emp ID Emp First Name Emp Last Name Emp Birth Date Emp Hire Date Emp System Signal # 1234 Sallye Shapiro 6/17/1970 7/02/2001 123 450 N/A Emp Comments Unique Field Names First Name Annie April Arnold Bobbie Butch Basic Design Rules Often we will have the same type of data in multiple tables. Table IDs, Comments, First Names, Last Names are all fields that could refer to different datasets. Last Name Adams Appleton Arlington Brown Bruce First Name Sallye Samuel Sidney Last Name Shapiro Smith Samueson When these two Last Name fields are pulled into the same query they will appear with the table name in front of the field name: Patient Table.Last Name Doctor Table.LastName No Calculated Fields Emp ID Hourly Hours Pay Rate Worked 123 $10.00 40 $390.00 Basic Design Rules In Microsoft Excel we enter the data and create our formulas all at once. In Access you are creating a Data table, a table of the raw data. If you want Access to do the calculations, you can create an expression elsewhere in the database. Pt Med Rec Height (m) Weight (kg) 456 456 2 91 23 You can create calculated expressions in queries, forms and reports. BMI 6

Unique Records If you don t have unique records, your database can t tell which record you may be referring to. Basic Design Rules LastName GatorLink Phone College Smith rsmith 3 5051 Pharmacy Smith rsmith 273 5051 COP Smith rsmith 273 5051 Pharmacy Thomas bthomas 392 5555 Medicine Van Winkle sleepyguy 846 5656 PHHP LastName Smith EmergencyContact Mary Anne Smith Primary Keys LastName GatorLink Phone College Smith rsmith 273 5051 Pharmacy Thomas bthomas 392 5555 Medicine Van Winkle sleepyguy 846 5656 PHHP To ensure that each record is unique in each table, we can set one field to be a Primary Key field. A Primary Key is a field that that will contain no duplicates and no blank values. Looking at the table above, what would be the best Primary Key? Primary Keys LastName GL ID Phone College Smith rsmith 273 5051 Pharmacy Thomas Bthomas 392 5555 Medicine Van Winkle sleepyguy 846 5656 PHHP While each column in this particular data set has unique data, thefield that will work best for us is GL ID (GatorLink). Many employees will work for the same college, have the same last name and possibly even share telephone numbers, but each employee should have a unique GatorLink ID. When there is not a unique field in your data set, you can use an AutoNumber. Access can create incremented or random AutoNumbers for your primary key. 7

Basic Design Rules Unique Records We use the unique primary key as our link between our tables, this helps ensure we connect to the correct record. ID LastName GatorLink Phone College 1 Smith rsmith 3 5051 Pharmacy 2 Smith rsmith 273 5051 COP 3 Smith rsmith 273 5051 Pharmacy 4 Thomas bthomas 392 5555 Medicine 5 Van Winkle sleepyguy 846 5656 PHHP Emp ID EmergencyContact 2 Mary Anne Smith Patients Let s Start Planning Appointments Opening a Database To open a database when you start Access Choose the database the left hand panel, or click Open to browse for another database. To create a database Click on the Blank Database button. Fill in the File name on the right side and click Create. 8

The Access Database Window The navigation pane on the left side of the window organizes all the database objects Data View/Design View Tables Forms Queries Reports Navigating Fields and Records To move through records and fields Tab Shift Tab Enter Home/End Ctrl Home Ctrl End Page Up Page Down The Arrow Keys To move through records Previous Record Next Record New Record First Record Current Record Last Record 9

Introducing Tables Database is a collection of Tables Data Storage The foundation of your database Introducing Queries A means of asking questions (querying) of your data Can look across a number of Tables and other Queries Can perform Calculations and Combine fields Introducing Forms A friendlier view of the database Used for data input, menus, display and printing Can perform Calculations and Combine fields 10

Introducing Reports Output of information in a printed report Allows you to group and summarize data Can perform Calculations and Combine fields Cannot Edit Data Can Make Labels Working Together Tables Queries Patients Reports Forms Patients First Name: Last Name: Gender: Birth Date: Phone #: Report Let s take a break! 11