Access Primer Africamuseum 5 June 2013. MS Access  Relational Database Management System Data/information resides in series of related tables Principle.

Slides:



Advertisements
Similar presentations
Designing Tables in Microsoft Access By Ed Lance.
Advertisements

Understanding Relational Databases Basic Concepts and Applications for Qualitative Content Analysis.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Database Design Week 10.
Database Ed Milne. Theme An introduction to databases Using the Base component of LibreOffice LibreOffice.
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Microsoft Access Course 1. Introduction to the user interface.
Exploring Microsoft Access 2003 Chapter 6 Many-to-Many Relationships: A More Complex System.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
Chapter 7 Data Management. Agenda Database concept Import data Input and edit data Sort data Function Filter data Create range name Calculate subtotal.
QUERYING A DATABASE By: Dr.Ennis-Cole. OBJECTIVES: Learn how to use the Query window in Design view Create, run and Save queries Define a relationship.
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
Database Software Application
Access 2007 ® Use Databases How can Access help you to find and use information?
Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.
Database terms Mr. Brunton.
Business Computer Information Systems Microsoft Office XP Access Review Lessons 1 through 5.
Microsoft Access Database software. What is a database? … a database is an organized collection of data. A collection of data of similar information compiled.
MS Access: Database Concepts Instructor: Vicki Weidler.
Page 1 ISMT E-120 Desktop Applications for Managers Introduction to Microsoft Access.
Creating a Serials Database by Melissa Farley Serials Associate Ingram Library, University of West Georgia
ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
Access 2007 Database Application Managing Business Information Effectively BCIS 1 and 2.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Microsoft Access Lecture -13- By lec. (Eng.) Hind Basil University of Technology Department of Materials Engineering 1.
Access Primer UoN workshop Naivasha, 30 July – 4 August 2006.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
® 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?
10 May Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through.
DATABASE DESIGN USING MICROSOFT ACCESS. What is a Database?  DMS Database management system  Database Collection of data organized in a manner that.
Microsoft Access 2010 Building and Using Queries.
Analyzing Data For Effective Decision Making Chapter 3.
© 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 6 – Designing.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
IE 423 – Design of Decision Support Systems Database development – Relationships and Queries.
© 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 9 – Building Links,
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.
WEEK 11 Database Design. TABLE INSTANCE CHARTS Create Tables.
DAY 22: MICROSOFT ACCESS – REVIEW Akhila Kondai November 04, 2013.
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
Chapter 17 Creating a Database.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Normalisation Africamuseum 5 June What is ‘Normalisation’?  Theoretical: satisfying the requirements of the different ‘Normal Forms’, as spelled.
Using Microsoft Access 56:150 Information System Design.
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.
Exploring Microsoft Access Chapter 6 Many-to-Many Relationships: A More Complex System.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
IE 423 – Design of Decision Support Systems Database development – Building Tables
1 The Information School of the University of Washington Dec 1fit advdatabases © 2006 University of Washington Advanced Database Concepts INFO/CSE.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Introduction to Access Chapter 13 pages 1-4. What is a database??? Related information is stored in databases  All SC student information is stored in.
Access Chapter 1: Intro to Access Objectives Navigate among objects in Access database Difference between working in storage and memory Good database file.
© 2001 ComputerPREP, Inc. All rights reserved. Access 2000: Module II.
Databases and ADO.NET Programming Right from the Start with Visual Basic.NET 1/e 11.
Extending the biogeographical model Africamuseum 6 (7?) June 2013.
Database design Using Access 2007
IT – som værktøj Bent Thomsen Institut for Datalogi Aalborg Universitet.
Lesson 4: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Set query.
PREPARED BY: PN. SITI HADIJAH BINTI NORSANI. LEARNING OUTCOMES: Upon completion of this course, students should be able to: 1. Understand the structure.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
COMPUTER SKILLS MS-ACCESS. Introduction Access is a piece of software known as a database management system. At its most basic level, it can be used to.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.
Databases: What they are and how they work
Practical Office 2007 Chapter 10
Spreadsheets, Modelling & Databases
Presentation transcript:

Access Primer Africamuseum 5 June 2013

MS Access  Relational Database Management System Data/information resides in series of related tables Principle of normalisation  Often ‘client-server’ End-user interface independent from ‘engine’

Access elements  Tables: to store data  Queries: to ask questions from database  Forms: to create a user interface  Macros: to automate repetitive tasks  Modules: create non-standard functionality, using Visual Basic

Tables  Must be defined before they can be used  Vaguely resemble Excel sheets but: Unit of information is a ‘record’ (line) Saved automatically as soon as one moves to another record Consists of ‘fields’ Type must be chosen All fields of a record remain together No restriction on the number of lines Excel: 64,000 lines Order of records is not fixed!

Types of fields  Text (length; max = 255)  Memo  Integer (normal or long) Autonumber  Real (single or double)  Date  Boolean (yes/no)

Indices  Facilitate sorting and selective extraction of records  Special index: primary key unique identifier for a record often ‘autonumber’  Other indices: Unique or not Slow data entry down

Hands-on  Create table to store names and addresses of students  Experiment with field types  ‘Populate’ table – create records and provide input  Play with facilities to display table Filter, sort

Import text (or other) files  Download data from for example data.gbif.org Don’t select too many data!  Check data through text editor  Then we’ll import the data in our database

Hands-on  Download data from for example data.gbif.org Don’t select too many data!  Check data through text editor  Play with filter, sort…

Normalisation  All data should be in the database once and only once Repeated data go to separate table Relationships between the tables are part of the ‘model’ of the database Link between tables defined on pair of fields, one in each table, that are of same type Records of the two tables are ‘related’ if value in the link fields is the same  Later more!!

Non-normalised Table Species# legs# eyesplaceCountrydate Asterias rubens50OostendeBelgium12/3/2004 Asterias rubens50ZeebruggeBelgium13/3/2005 Asterias rubens50ZeebruggeBelgium14/3/2005 Cancer pagurus102De PanneBelgium12/3/2004 Cancer pagurus102OostendeBelgium12/3/2004 Cancer pagurus102ZeebruggeBelgium14/3/2004 Asterias rubens50WimereuxFrance13/3/2005 Asterias rubens50WimereuxFrance14/3/2005 Cancer pagurus102WimereuxFrance12/3/2004

Normalisation  Table with morphological characters fields: species, number of legs, number of eyes  Table with distribution records fields: species, place, date  The field ‘Species’ is common to the two tables, and makes it possible to link records between two tables

Creating relations  ‘one to many’ relations  Defined on fields of the same type In case of text fields: same length  On the many side: primary key  Helps in maintaining the integrity of the data Enforce presence of a ‘related record’ in the ‘related table’ Avoid spelling variations (Oostende, Ostend, Ostende…)

Relations  Best on fields that do not carry any real-world information Autonumber  In the example: add field autonumber in the species table, and use this as a code in the distributions table; make autonumber field the primary key  Also best to add Autonumber as primary key in distributions table

And more Relations…  Also the locality of the species distribution record should be in a separate table With fields for position, country…

Hands-on  Refine the data model by creating an extra table for the countries Create extra table with id and countryname Make id the primary key in countries table Change places table, change country to country_id, and update field type Create relationship between places and countries

Queries  Select and sort records of a table  Pull together information from related tables  Simple statistics  In principle: SQL But access interface hides SQL from the user  For now: query grid Define which tables will be used, fields that have to be shown, criteria for selection and sorting…

SQL statement SELECT species.speciesname, distrecords.observationdate, places.placename, places.country FROM species INNER JOIN (places INNER JOIN distrecords ON places.id = distrecords.place_id) ON species.id = distrecords.species_id WHERE (((places.country)="Belgium")) ORDER by speciesname, observationdate;

Statistics query  Count the number of records in the database given criteria in a ‘Group By’ clause

Cross-tab query  Not standard SQL, specific for Access  Create table, with one column header and one or more row headers, and a value for the cells

Hands-on  How many different species do you have in your download from GBIF?  How many with latitude & longitude?  Check the ‘country’ field Why do we need normalisation & standard vocabularies?

Access Wizard

Forms  Create an interface for the users  Hide codes/autonumbers (combobox)  Elements of the form are linked to fields in the tables Can show single records at a time, or ‘repeated forms’ Entries/changes to the form are written automatically to the table

ComboBox  Limit possible entries into a field  Hide codes/autonumbers from users  Two different representations of the same information are combined Code, to be entered into the table Full text equivalent, for the benefit of the user

Subforms  To display the content of a many-to-many relationship We don’t know how many related records there will be, so impossible to solve with static, predefined structure A form can be repeated, showing multiple lines Number of lines is not limited  First create the subform

Subforms  And then the main form

And now…  How to decide on the structure of a database? Which information do we want to store? Which tables do we need? Relationships between them? Which indices (primary and others) do we need?  Start from an analysis of user needs  In principle also, decide on a platform

Task  Create ‘model’ for biodiversity/biogeography database Which standard vocabularies to use? What are important elements of information? Sources Biology  Classification, synonymy Geography