Introduction to Microsoft Access 2003 Mr. A. Craig Dixon CIS 100: Introduction to Computers Spring 2006.

Slides:



Advertisements
Similar presentations
Organisation Of Data (1) Database Theory
Advertisements

Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Benchmark Series Microsoft Access 2010 Level 1
Access Lesson 2 Creating a Database
Microsoft Access 2003 Introduction To Microsoft Access 2003.
Introduction to Databases CIS 5.2. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 1 1 Microsoft Access 2003 Tutorial 1 – Introduction To Microsoft Access 2003.
Access Tutorial 3 Maintaining and Querying a Database
Software Development Unit 2 Databases What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data.
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.
DATA, DATABASES, AND QUERIES Managing Data in Relational Databases CS1100Microsoft Access - Introduction1.
DATA, DATABASES, AND QUERIES Managing Data in Relational Databases CS1100Microsoft Access - Introduction1 Created By Martin Schedlbauer
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
BIS121 IT for Business Application Lecture 8 – Database (Part I)
© 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 4 – Creating New.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2010.
ASP.NET Programming with C# and SQL Server First Edition
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
Working with a Database
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
DAY 14: ACCESS CHAPTER 1 Tazin Afrin October 03,
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
Lesson 17 Getting Started with Access Essentials
1 By: Nour Hilal. Microsoft Access is a database software where data is stored in one or more Tables. A Database is a group of related Tables. Access.
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.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Database Systems Microsoft Access Practical #1 Creating Tables Nos 215.
Chapter 17 Creating a Database.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 23 Getting Started with Access Essentials 1 Morrison / Wells / Ruffolo.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
Access Project 3 Notes. Introduction Maintaining the Database  Modifying the data to keep it up-to-date Restructure the Database  To change the database.
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2007.
® Microsoft Office 2013 Access Creating a Database.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
ITGS Databases.
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
Access  Getting Started  Creating Tables  Designing Tables Worksheet #8.
Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.
Microsoft Access. Microsoft access is a database programs that allows you to store retrieve, analyze and print information. Companies use databases for.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
1/62 Introduction to and Using MS Access Database Management and Analysis Yunho Song.
You can sort Access data so you can view records in the order you want to view them, and you can filter data so you only see the records you want to see.
CHAPTER 1 – INTRODUCTION TO ACCESS Aliya Farheen March 5, 2014.
Relational Database Techniques
CSC 240 (Blum)1 Introduction to Access CSC 240 (Blum)2 Click on the Access desktop icon or go to Start/All Programs/Microsoft Office/Microsoft Office.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
1 11 Exploring Microsoft Office Access 2007 Chapter 6 Data Protection.
CPSC 203 Introduction to Computers T97 By Jie (Jeff) Gao.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
DAY 14: ACCESS CHAPTER 1 RAHUL KAVI October 8,
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
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.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
1 Finding Your Way Through a Database Exploring Microsoft Office Access.
IST 220 – Intro to Databases
MS Access Forms, Queries, Reports Matt Martin
Microsoft Office Access 2010 Lab 2
Practical Office 2007 Chapter 10
Microsoft Office Illustrated Fundamentals
Exploring Microsoft Office Access
Access Lesson 2 Creating a Database
Introduction to Access
Microsoft Office Access is the best –selling personal computer database management system. What is Access?
Presentation transcript:

Introduction to Microsoft Access 2003 Mr. A. Craig Dixon CIS 100: Introduction to Computers Spring 2006

Introduction to Microsoft Access Why Access 2003? Microsoft Access is used to structure and store information that will be updated often and / or will be searched by one or more specific criteria. Common personal uses include storing information about collections (movies, sports cards, etc.) Common corporate uses include storing sales information, employee data, etc.

Introduction to Microsoft Access What is a Database? Microsoft Access is used for creating a special data structure called a database. A database is a collection of data stored in tables. Tables consist of records, which are themselves collections of data about a single item. Each datum in a record is called a field.

Introduction to Microsoft Access You Define the Structure Because of the wide variety of data people store in databases, a database initially has no tables, and thus no fields or records. The user must create one or more tables and must further define the structure of each table by defining the number and types of fields in the table.

Introduction to Microsoft Access An Example of a Database Suppose you want to build a database of movies. You might want to define a table with fields for the movie’s title, rating, and year of release. You might also define fields for the actors in the movie or the production company that produced it. After defining the structure of this table, you enter information about each movie as a separate record. If you want to build a larger database, you could include another table of information about different actors Fields in this table might include the actor’s age, hometown, etc.

Introduction to Microsoft Access Database Keys Each table must contain a primary key; each record in the table must have a unique value in the primary key field. In databases involving people, the most common key is the person’s social security number. It is sometimes desirable to use more than one field as the key; this is called using a composite key. In the movie example, you might want to define year of release and title as a composite key, since movies are sometimes re-released in different years.

Introduction to Microsoft Access Field Data Types Each field must be given a data type based on what kind of data the field will contain. There are several data types, including: Text – any kind of alphanumeric data; like Excel labels, no math functions can be performed on text data. Number – integer or floating-point numerical data on which math operations need to be performed. Even data like ZIP codes should be of text data type, since no math operations are performed on them. Yes/No – the only valid entries are Yes and No AutoNumber – each record is assigned the next consecutive number, beginning at 0. This is most useful for primary keys OLE object – many kinds of external content, including sounds, pictures, and documents, can also be stored in an Access database using this data type. Clearly, a great deal of planning is involved before constructing a database.

Introduction to Microsoft Access Creating a Database in Access Upon starting Access, the user must first create a database. The user is immediately prompted to save the database. This is because, unlike other programs in the Microsoft Office suite, Access saves changes to the database contents as soon as they are made. Only changes to the design of the database itself must be explicitly saved. After saving the new database, the user is prompted to create a new table using one of three methods. The method we will use is Design view.

Introduction to Microsoft Access Anatomy of Design View Field name Data type Field description Default value box Required box Field size box

Introduction to Microsoft Access Relationships The user can link two tables using an arrangement called a relationship. In a relationship, the value of a field in one table exactly matches the primary key of a record in another field. This value is called a foreign key. In the movie example, instead of entering the actor’s name in the field for the star of the movie, you would instead enter the primary key value of the specific actor from the actors table.

Introduction to Microsoft Access Garbage In, Garbage Out Databases are built around the principle of garbage in, garbage out (GIGO). This means that databases are extremely dependant on consistency in formatting of the data in them. Even subtle variations like upper-case and lower-case letters can make huge differences in how a database will respond. For this reason, there are numerous controls to ensure that data is input in a consistent manner.

Introduction to Microsoft Access Structured Query Language (SQL) Databases are often quite large and complex, which makes finding specific data challenging. To make the task less daunting, databases provide a feature called querying. The user creates a request, called a query, that describes what data he or she wants displayed and how to display it. When the query is run, it creates a presentation of data called a view. All queries are written in a language called Structured Query Language (SQL, pronounced SEE – kwul). Some people refer to SQL as Standard Query Language. The two are interchangeable. Anything that can be done to a database (creating or deleting a table, adding or deleting a record, changing a value, etc.) can be done using a query.

Introduction to Microsoft Access A SQL Example Say you have a database of movies. You want to find all the movies in the database that are in the comedy genre and were released between 1988 and The SQL query might look like this (SQL keywords are in all caps): SELECT movieName FROM movies WHERE genre=“Comedy” AND releaseYear > 1987 AND releaseYear < 1999; This is a relatively simple query; most will be significantly more complex than this!

Introduction to Microsoft Access Access Makes it Easy Learning basic SQL takes weeks; learning SQL well takes years. We don’t have weeks or years to learn it. Fortunately, Microsoft Access provides another way. We can create queries in a drag-and-drop interface using the Select Query feature of Access. Queries created using the Select Query feature are still in SQL; Access just hides the messy details.

Introduction to Microsoft Access Anatomy of Select Query Available tables Available fields Field information Sorting criteria Query criteria

Introduction to Microsoft Access A Simple View To create a simple view, just drag the fields you want in the view into separate field boxes in the Select Query window. Once you run the query, your view is created. Run the query

Introduction to Microsoft Access A Sorted View There are two methods of sorting: Ascending – least to greatest (numeric) or alphabetically (textual) Descending – greatest to least (numeric) or reverse alphabetically (textual) Run the query

Introduction to Microsoft Access Multiple Ordering You can sort on more than one field by putting the field that defines the primary ordering in the left- most column, the secondary ordering in the next slot, etc. Run the query

Introduction to Microsoft Access A View With a Criterion Sometimes you want to see only data that meets a certain criterion. To do this, just enter the criterion in the criteria field. This query returns records where Wage is less than 15. Run the query

Introduction to Microsoft Access A View Using Boolean NOT Instead of a positive criterion, you can use a negative criterion by using the Boolean operator NOT. This query returns all records where PositionTitle is not “Cook”. Run the query

Introduction to Microsoft Access A View Using Boolean OR You can create a query that returns records that meet one criterion or the other by adding all the criteria in the “or:” blank(s). Run the query

Introduction to Microsoft Access A View Using Boolean AND You can create a query to return data that meet all of several criteria by entering several criteria on the same line of the criteria field. (You can use the same field more than once.) Run the query

Introduction to Microsoft Access Forms and Reports Datasheet view often is not the most attractive way to view or edit your data. Access provides two features commonly used to make these tasks more user-friendly. Forms – allow the user to create a GUI front-end for the database where data can be entered, modified, and deleted. Reports – allow the user to create stylized printouts of data from the database. Reports can be based on a table or a queried view. Most high-level programmers will use other, more specialized tools for these tasks, but for beginning students, they are a powerful extension to Access. We will create simple forms and reports in our in-class project.