I NTRODUCTION TO D ATABASE C ONCEPTS AND M ICROSOFT A CCESS 2007 Eyad M. AlMassri BGMS4101 Introduction 1.

Slides:



Advertisements
Similar presentations
Tutorial 1 Creating a Database
Advertisements

Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Jeopardy Objects Navigation Buttons True/False Parts of a Report Vocabulary Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final.
UNIVERSITY OF PALESTINE business computer application College of Business Instructor: Mr. Ahmed Abumosameh.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray /18/86  Information - the meaning given.
Microsoft Access 2003 Introduction To Microsoft Access 2003.
FIRST COURSE Microsoft Access (Basics). XP Objectives Define the terms field, record, table, relational database, primary key, and foreign key. Learn.
Access Tutorial 1 Creating a Database
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 1 1 Microsoft Access 2003 Tutorial 1 – Introduction To Microsoft Access 2003.
Database Software Application
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
Tutorial 8 Managing and Securing a Database. Objectives Filter data in a table and a form Save a filter as a query and apply the saved query as a filter.
Microsoft Access Intro Class 1 Database Concepts.
An INTRODUCTION to MICROSOFT ACESS 2000 By Dr. Ennis-Cole.
Introduction to Databases. Data vs. Information u Data – a collection of facts made up of text, numbers and dates: Murray /18/86 u Information.
FIRST COURSE Access Tutorial 1 Creating a Database.
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2010.
1 Access Lesson 1 Microsoft Access Basics Microsoft Office 2010 Introductory.
Introduction to Database Concepts and Microsoft Access 2010 Academic Health Center Training (352)
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 Understanding Relationships Academic Health Center Training (352)
Microsoft Access Get a green book. Page AC 2 Define Access Define database.
HSC IT Center Training University of Florida Introduction to Database Concepts and Microsoft Access.
® Microsoft Access 2010 Tutorial 1 Creating a Database.
Lesson 17 Getting Started with Access Essentials
Access 2013 Microsoft Access 2013 is a database application that is ideal for gathering and understanding data that’s been collected on just about anything.
Microsoft Access You will need a pen/pencil.. What is Microsoft Access? Access is a database management system.  Create a database, add/change delete.
Chapter 17 Creating a Database.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
HSC IT Center Training University of Florida Introduction to Database Concepts and Microsoft Access 2007 Health Science Center IT Center – Training
Microsoft Access 2010 Crash Course Part 1 Academic Health Center Training (352)
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2007.
Database Applications – Microsoft Access Lesson 1 Introduction 26 Slides in Presentation Updated 8/12.
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.
HSC IT Center Training University of Florida Microsoft Access Understanding Relationships Health Science Center IT Center – Training
D ATABASE O BJECTS Putting the Objects to Work. Database Objects When creating a database, you are creating a database that will store objects. Database.
Database Objective Demonstrate basic database concepts and functions.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
HSC IT Center Training University of Florida Microsoft Access Relationships Health Science Center IT Center – Training
Course Contents Overview: Database basics Lesson 1: Benefits of using a database Lesson 2: Table that data Lesson 3: Analyzing, viewing, and reporting.
Access Test Questions Test Date: 05/05/16. Chapter 1 (Lynda.com) Question 1 An access database uses five main components (database objects). Which is.
® Microsoft Access 2010 Tutorial 8 Managing and Securing a Database.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
Introduction to Database Concepts and Microsoft Access 2007 Presented By: Mr. Kenver Regis.
Microsoft Office XP Illustrated Introductory, Enhanced Started with Access 2002 Getting.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
Tutorial 1 Creating a Database
GO! with Microsoft Office 2016
Access Tutorial 1 Creating a Database
Creating a Simple Database with Microsoft Access 2007
GO! with Microsoft Access 2016
CIS 155 INTRODUCTION TO ACCESS 2002
Introduction to Database Concepts and Microsoft Access 2000
Tutorial 1 – Introduction To Microsoft Access 2003
Access Tutorial 1 Creating a Database
Case Study Creating a Database
Database Applications – Microsoft Access
Tutorial 1 – Introduction To Microsoft Access 2003
Introduction to Database Concepts and Microsoft Access 2003
Introduction to Database Concepts and Microsoft Access 2007
Access Tutorial 1 Creating a Database
Access Tutorial 1 Creating a Database
Access Tutorial 1 Creating a Database
Access Test Questions Test Date: 05/05/16.
Introduction to Database Concepts and Microsoft Access 2007
Access Lesson 1 Microsoft Access Basics
Presentation transcript:

I NTRODUCTION TO D ATABASE C ONCEPTS AND M ICROSOFT A CCESS 2007 Eyad M. AlMassri BGMS4101 Introduction 1

O RGANIZING D ATA Your first step in organizing data is to identify the individual fields The specific value, or content, of a field is called the field value A set of field values is called a record Next, you group related fields together into tables 2

D ATABASE C ONCEPTS AND A CCESS 2007 Introduction Database Microsoft Access Design and Creation Plan Tables Queries Forms Reports 3

W HAT IS A D ATABASE ? 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

D ATA VS. I NFORMATION Data – a collection of facts made up of text, numbers and dates: Murray /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,

B ASIC D ATABASE C ONCEPTS Table A set of related records u Field u Record –A collection of data about an individual item –A single item of data common to all records Name: Barry Harris College: Medicine Tel: Name: Barry Harris 6

A N E XAMPLE OF A T ABLE Records Fields NameGatorLinkPhoneCollege Graffrgraff Pharmacy Harrisbharris Medicine Ipswichzipswich PHHP 7

D ESIGN AND D OCUMENT Y OUR D ATABASE 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? 8

Q UESTIONS T O A SK Y OURSELF 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) 9

D ATABASE O PTIONS Freeware/ Shareware Microsoft Excel Microsoft Access Oracle/SQL Simplicity BasicsIntermediateAdvanced Hire a programmer # of Users 11Multiple Multiple of Multiples Multiple datasets No Yes Security Always consult with your security team if you are going to put any sensitive data on the internet. 10

W HY U SE A CCESS ? 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 11

W HAT IS A R ELATIONAL D ATABASE ? 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. That is, once relationships are created, tables can “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

B ASIC D ESIGN R ULES Data is broken down into Smallest Logical Parts PT ID #Home Address West Main Street, Gainesville, FL South 3rd Road, Apt 12, Newberry, FL West Newberry Road, Gainesville, FL Putting all of the home address in one field may make for convenient data entry, but it makes it very difficult to work with the data. For example, what if I needed to sort by City or Zip Code? Pulling fields together is fairly simple, pulling them apart is very difficult. You can join fields together in queries, forms and reports. 13

B ASIC D ESIGN R ULES Unique Field Names PATIENT TABLE First NameLast Name AnnieAdams AprilAppleton ArnoldArlington BobbieBrown ButchBruce You also want to be aware of the field names across tables. For example several tables may use the Field LastName. When you use those fields in other parts of the database things can become very confusing very quickly. DOCTOR TABLE First NameLast Name SallyeShapiro SamuelSmith SidneySamueson When these two Last Name fields are pulled into the same Query/Form/Report they will appear with the table name in front of the field name: Patient Table.Last Name 14

B ASIC D ESIGN R ULES No Calculated or Derived Fields Employee ID Num Hourly Rate Standard Hours Standard Pay Dept ID Num Dept Name 123$ $ Editing 789$ $ Edit Calculations - If we give an employee a raise, we will need to change both the Hourly Rate and the Standard Pay, and we need to make sure our calculations are correct. Derivations - Since we have the Dept ID, there is no need to include the Dept Name, it can be pulled from the Dept Table. Listing it in both places leads to data entry errors. Access will let you create calculations in queries, forms and reports. 15

B ASIC D ESIGN R ULES Unique Records LastNameGatorLinkPhoneCollege Smithrsmith3-5051Pharmacy Smithrsmith COP Smithrsmith Pharmacy Thomasbthomas Medicine Van Winklesleepyguy PHHP If you don’t have unique records, your database can’t tell which record you may be referring to. LastNa me EmergencyCont act SmithMary Anne Smith 16

P RIMARY K EYS LastNameGatorLinkPhoneCollege Smithrsmith Pharmacy Thomasbthomas Medicine Van Winklesleepyguy 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? 17

P RIMARY K EYS LastNameGL IDPhoneCollege Smithrsmith Pharmacy ThomasBthomas Medicine Van Winklesleepyguy PHHP While each column in this particular data set has unique data, the field 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. 18

B ASIC D ESIGN R ULES Unique Records IDLastNameGatorLinkPhoneCollege 1Smithrsmith3-5051Pharmacy 2Smithrsmith COP 3Smithrsmith Pharmacy 4Thomasbthomas Medicine 5Van Winklesleepyguy PHHP We use the unique primary key as our link between our tables, this helps ensure we connect to the correct record. Emp IDEmergencyContact 2Mary Anne Smith 19

L ET ’ S S TART P LANNING PatientsAppointments 20

N AVIGATING A D ATASHEET The navigation buttons provide another way to move vertically through the records 21

22 D ATABASE T ERMINOLOGY Field Record Table Database A database is made up of one or more tables Individual tables in a database Records Individual fields

23 O BJECTS Tables Queries Reports Forms Macros Modules Objects

O PENING A D ATABASE u To open a database when you start Access –Choose the database you wish to open from the left hand panel, or choose More… to browse for another database u To Create a database, click on the Blank Database at the top of the middle panel u You can also use the Microsoft button to open existing databases or create new ones. 24

T HE A CCESS D ATABASE W INDOW The menu on the left hand side provide access to all database objects 25

D ATA V IEW /D ESIGN V IEW Datasheet View Design View 26

N AVIGATING F IELDS AND R ECORDS To move through records and fields To move through records First Record Previous Record Last Record New Record Current Record Next Record  Tab  Shift+Tab  Enter  Home/End  Ctrl+Home  Ctrl+End  Page Up  Page Down  The Arrow Keys 27

I NTRODUCING T ABLES Database is a collection of TABLES Tables store the data 28

I NTRODUCING Q UERIES 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 29

I NTRODUCING F ORMS A friendlier view of the database Used for data input, menus, display and printing Can perform Calculations and Combine fields 30

I NTRODUCING R EPORTS 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 31

W ORKING T OGETHER Employees Customers Tables Queries Customer Company Name Address City Telephone Contact Name Forms Reports 32

V IEWING O BJECTS IN THE N AVIGATION P ANE 33

C OMPACTING AND R EPAIRING A D ATABASE Compacting a database rearranges the data and objects in a database to decrease its file size 34

C OMPACTING AND R EPAIRING A D ATABASE Make sure the database file you want to compact and repair is open Click the Office Button, point to Manage, and then click Compact and Repair Database 35

B ACKING U P AND R ESTORING A D ATABASE Backing up a database is the process of making a copy of the database file to protect your database against loss or damage The Back Up Database command enables you to back up your database file from within the Access program, while you are working on your database To restore a backup database file, you simply copy the backup from the drive on which it is stored to your hard drive 36

37 A CCESS OR E XCEL ? You are working with large amounts of data You need to create relationships between your data You rely on external databases to analyze data Your data is of a manageable data size There is no need for relationships between data You are primarily creating calculations and statistics Use Access when:Use Excel when: