Access Primer UoN workshop Naivasha, 30 July – 4 August 2006.

Slides:



Advertisements
Similar presentations
Designing MS-Access Tables
Advertisements

Designing Tables in Microsoft Access By Ed Lance.
Understanding Relational Databases Basic Concepts and Applications for Qualitative Content Analysis.
Chapter 10: Designing Databases
Database Ed Milne. Theme An introduction to databases Using the Base component of LibreOffice LibreOffice.
Microsoft Access Course 1. Introduction to the user interface.
Lecture Access – Tables. What are Tables? Records Fields.
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.
Database Software Application
Microsoft Access II Information Technology Services User Services User Training & Support.
Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.
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.
MS Access Advanced Instructor: Vicki Weidler Assistant:
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.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
ITOM 2308 Introduction to Databases Review Access Database Corporate Case Study ITOM 2308 Class 81.
Microsoft Access Lecture -13- By lec. (Eng.) Hind Basil University of Technology Department of Materials Engineering 1.
Introduction to Microsoft Access 2003 Mr. A. Craig Dixon CIS 100: Introduction to Computers Spring 2006.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
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.
Access Primer Africamuseum 5 June MS Access  Relational Database Management System Data/information resides in series of related tables Principle.
© 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.
Designing a Database (Part I) -Identify all fields needed to produce the required information -Group related fields into tables -Determine Each Table’s.
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.
Computer Science & Engineering 2111 Lecture 11 Querying a Database 1.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
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.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
1 Outline  What is a Primary Key?  AutoNumber primary keys  Single-field primary keys  Composite-field primary key  About Foreign Keys  Database.
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.
Computer Science & Engineering 2111 Querying a Database 1CSE 2111 Lecture- Querying a Database.
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.
Microsoft Access 2013 ®® Tutorial 9 Using Action Queries and Advanced Table Relationships.
ITGS Databases.
IE 423 – Design of Decision Support Systems Database development – Building Tables
Relational Databases. Relational database  data stored in tables  must put data into the correct tables  define relationship between tables  primary.
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.
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
Classwork: Common Errors Primary keys: don’t forget them! Primary keys: choose the best one! – “Name” and “birthday” are not the best choices. – “Phone.
Copyright © Andrew Couch 2007 All rights reserved. Access Tables Without Keys & Views How To Manage Keys On Access Tables Andrew Couch ASC Associates.
Exploring Microsoft Access Chapter 5 One-to-Many Relationships: Subforms and Multiple Table Queries.
Microsoft Access Prepared by the Academic Faculty Members of IT.
PREPARED BY: PN. SITI HADIJAH BINTI NORSANI. LEARNING OUTCOMES: Upon completion of this course, students should be able to: 1. Understand the structure.
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
CIS 155 Table Relationship
Spreadsheets, Modelling & Databases
Microsoft Office Illustrated Introductory, Windows XP Edition
Presentation transcript:

Access Primer UoN workshop Naivasha, 30 July – 4 August 2006

MS Access  Relational Database Management System Data/information resides in series of related tables Principle of normalisation  Double system (Microsoft!).mdb: stand-alone files.adp: front-end to MS SQL Server database

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

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

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…

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  In pratice: query grid Define which tables will be used, fields that have to be shown, criteria for selection and sorting…

SQL statement SELECT Places.PlaceName, Species.SpeciesName FROM Species INNER JOIN (Places INNER JOIN distributions ON Places.PlaceID = distributions.placeID) ON Species.speciesID = distributions.speciesID ORDER BY Places.PlaceName;

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