Chapter 17 Creating a Database.

Slides:



Advertisements
Similar presentations
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Advertisements

MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Computer Concepts BASICS 4th Edition
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Access Lesson 2 Creating 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.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
Chapter 1 Databases and Database Objects: An Introduction
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 2 Querying a Database Using the Select Query Window.
Access Tutorial 3 Maintaining and Querying a Database
Microsoft Office 2007 Access Integration Feature Sharing Data Among Applications.
Access Tutorial 1 Creating a Database
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Access Lesson 4 Creating and Modifying Forms
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Microsoft Office 2010 Office 2010 and Windows 7: Essential Concepts and Skills.
Chapter 2 Querying a Database
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
Chapter 3 Maintaining a Database
Maintaining and Querying a Database Microsoft Access 2010.
Microsoft Office 2007 Access 2007 Chapter 9 Administering a Database System.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
Unit J: Creating a Database Microsoft Office Illustrated Fundamentals.
© 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.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Working with a Database
Getting Started with Application Software
Access Tutorial 2 Building a Database and Defining Table Relationships
Chapter 1 Databases and Database Objects: An Introduction
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
® Microsoft Access 2010 Tutorial 1 Creating a Database.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
Lesson 2.  To help ensure accurate data, rules that check entries against specified values can be applied to a field. A validation rule is applied to.
Microsoft Access 2000 Presentation 2 Creating Databases Part I (Creating Tables)
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.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T8: Decision Making Using Access 2007 Business Driven Technology.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Key Applications Module Lesson 21 — Access Essentials
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 23 Getting Started with Access Essentials 1 Morrison / Wells / Ruffolo.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Microsoft Outlook 2010 Chapter 3 Managing Contacts and Personal Contact Information with Outlook.
Microsoft Access 2010 Chapter 10 Administering a Database System.
® Microsoft Office 2013 Access Creating a Database.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Work with Tables and Database Records Lesson 3. NAVIGATING AMONG RECORDS Access users who prefer using the keyboard to navigate records can press keys.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Using the Report Button Using the Report Button Print.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
Access Queries and Forms. Adding a New Field  To insert a field after you have saved your table, open Access, and open the table  It is easier to add.
Chapter 7 Creating Templates, Importing Data, and Working with SmartArt, Images, and Screen Shots Microsoft Excel 2013.
Access Tutorial 2 Building a Database and Defining Table Relationships
GO! with Microsoft Office 2016
Practical Office 2007 Chapter 10
Access Chapter 2 Querying a Database.
GO! with Microsoft Access 2016
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Chapter 18 Finalizing a Database.
Tutorial 8 Sharing, Integrating, and Analyzing Data
Presentation transcript:

Chapter 17 Creating a Database

What’s Inside and on the CD? In this chapter, you will be introduced to Microsoft Access and its powerful tools for: Entering and updating information Deleting information Sorting data Searching for specific data Creating reports Practical Computer Literacy, 2nd edition Chapter 17

How is data organized in a database? Database software like Microsoft Access can be complex but is useful for organizing many types of data An Access database consists of tables Each table is similar to a stack of index cards Practical Computer Literacy, 2nd edition Chapter 17

How is data organized in a database? Each card in the stack contains similar information, which relates to a single entity. A database record is equivalent to one index card. Practical Computer Literacy, 2nd edition Chapter 17

How is data organized in a database? Practical Computer Literacy, 2nd edition Chapter 17

How is data organized in a database? Data can be displayed in different ways The table view is a grid of rows and columns Each row contains one record, equivalent to one index card Practical Computer Literacy, 2nd edition Chapter 17

How is data organized in a database? Each cell in a row contains the data for one field The table is composed of all fields in all rows, equivalent to the entire stack of index cards Practical Computer Literacy, 2nd edition Chapter 17

How is data organized in a database? Practical Computer Literacy, 2nd edition Chapter 17

What’s in the Access window? To start Access: Click Start Click All Programs Click Microsoft Office Click Microsoft Office Access 2007 Getting Started with Microsoft Office Access window appears – use it to: Connect to Microsoft Office Online Search for an existing file Create a new database Open an existing database Practical Computer Literacy, 2nd edition Chapter 17

What’s in the Access window? With Access, you typically don’t create a new database but open an existing one to add to or edit data it contains Unlike other Microsoft programs, Access databases are not displayed as they will be printed Access provides several tools used to create, modify, and display data Practical Computer Literacy, 2nd edition Chapter 17

What’s in the Access window? Tools, used to create tables and simple queries, are contained in the Navigation Pane on left side of the database window Access offers many different ways to use each tool Access is a complex software In order to simplify introduction, some basic ways to use most common tools will be introduced Practical Computer Literacy, 2nd edition Chapter 17

What’s in the Access window? Practical Computer Literacy, 2nd edition Chapter 17

How do I create a new database or open an existing database? Creating a database is different from a document, worksheet, or presentation In Access you first save an empty database then create elements of database Elements include: Tables Reports Forms Queries Practical Computer Literacy, 2nd edition Chapter 17

How do I create a new database or open an existing database? Database needs to be saved only once As you add or change data, changes are automatically saved When finished, just close it Practical Computer Literacy, 2nd edition Chapter 17

How do I create a new database or open an existing database? If database is already created, select name from Getting Started with Microsoft Office Access window To open database: Use More files link on Getting Started with Microsoft Office Access window Select storage device Select file name Click Open Practical Computer Literacy, 2nd edition Chapter 17

How do I create a new database or open an existing database? Practical Computer Literacy, 2nd edition Chapter 17

How do I create a table using a Table Template? You must specify the structure of tables, records, and fields before you can enter data Table Templates make it easy to create tables for common business and personal databases. A table contains records Each record contains one or more fields Each field contains a type of data such as name or data Practical Computer Literacy, 2nd edition Chapter 17

How do I create a table using a Table Template? After you create the database, make sure that Table is selected in the Objects list Double-click Create table by using wizard Select the most appropriate table type Practical Computer Literacy, 2nd edition Chapter 17

How do I create a table using a Table Template? Have Access create a primary key, which is a field that uniquely identifies each record Save the table Give the table a unique name Not necessarily the same name for the database Practical Computer Literacy, 2nd edition Chapter 17

How do I create a table using a Table Template? If you are saving to a floppy disk or USB flash drive, do not remove it until the Access window closes To open the database the next time you start Access, click the file name from the Getting Started with Microsoft Office Access window Practical Computer Literacy, 2nd edition Chapter 17

How do I create a table using a Table Template? Practical Computer Literacy, 2nd edition Chapter 17

How do I create a table using a Table Template? Practical Computer Literacy, 2nd edition Chapter 17

How do I create a table using a Table Template? Practical Computer Literacy, 2nd edition Chapter 17

How do I enter and edit data in a table? Once fields are defined for table, data for each entity becomes one record, or row, in table If table is not open, double-click the name of the table in the Navigation Pane An empty record is always displayed at bottom of table Practical Computer Literacy, 2nd edition Chapter 17

How do I enter and edit data in a table? Each time record added, a new empty row appears Make sure data is consistent - for example, don't use MI and Michigan in same database To edit data, click cell containing data Practical Computer Literacy, 2nd edition Chapter 17

How do I enter and edit data in a table? Use left and right arrow keys to move insertion point within field Use Backspace and Delete to delete text to left or right of insertion point To delete entire record: Right-click row header Click Delete Record on shortcut menu Click Yes button Practical Computer Literacy, 2nd edition Chapter 17

How do I enter and edit data in a table? Practical Computer Literacy, 2nd edition Chapter 17

Can I import data into a database? You can import data from files created with other software Worksheets created with Excel Databases created with older versions of Access E-mail address books created with Outlook Comma-delimited files A comma-delimited file, sometimes referred to as a CSV file, is data separated by commas Practical Computer Literacy, 2nd edition Chapter 17

Can I import data into a database? Many software applications offer an export option that creates a comma-delimited file Import a CSV file by selecting the Import text file from the External Data tab and then select the file Practical Computer Literacy, 2nd edition Chapter 17

Can I import data into a database? Practical Computer Literacy, 2nd edition Chapter 17

How do I create a table in Design View? If Table Templates don’t meet your needs for a table design, you may create your own in Design View When you create your own table, you must specify a data type for each field A data type determines what kind of data can be entered into the field Practical Computer Literacy, 2nd edition Chapter 17

How do I create a table in Design View? Use Text data type for fields that will contain data up to 255 characters in length Use Memo data type for fields that will contain variable length data, such as comments, notes, and reviews Practical Computer Literacy, 2nd edition Chapter 17

How do I create a table in Design View? Use Number data type for fields that will contain numeric data Don't use Number data type for data that looks like a number but will never be calculated A telephone number field should be defined as Text Use Date/Time data type for dates and times Practical Computer Literacy, 2nd edition Chapter 17

How do I create a table in Design View? If you have allowed Access to define the primary key ID field is created using the AutoNumber data type Unique number is automatically entered in field as record is entered Practical Computer Literacy, 2nd edition Chapter 17

How do I create a table in Design View? Yes/No data can be useful for fields designed to hold simple Yes/No or True/False data Example, use Yes/No data type for field “Subtitled?" After all fields defined, save and close table to begin entering data in new table Practical Computer Literacy, 2nd edition Chapter 17

How do I create a table in Design View? Practical Computer Literacy, 2nd edition Chapter 17

How do I work with tables? Working with data in Access can be similar to working with data in an Excel worksheet You can add, delete, move, sort, and search for data Controls for these operations are on the ribbon Practical Computer Literacy, 2nd edition Chapter 17

How do I work with tables? Operations for working with tables include: Modify data Insert a record Delete a record Move a field Hide a field Sort records Search Practical Computer Literacy, 2nd edition Chapter 17

How do I work with tables? Practical Computer Literacy, 2nd edition Chapter 17

How do I create a query using a wizard? Data in a table can be manipulated in many ways, e.g.: search a company database for products that cost more than $10 create a query to search for records containing particular data A query contains criteria that specifies what you want to find Practical Computer Literacy, 2nd edition Chapter 17

How do I create a query using a wizard? Use query to display some, but not all, fields in table The Query Wizard is a quick way to learn about simple queries and use them to locate data Practical Computer Literacy, 2nd edition Chapter 17

How do I create a query using a Wizard? Simple Query Wizard – What fields do you want in your query? click a field click button to add an individual field to query click button to add all fields to the query click button to remove an individual field from query click button to remove all fields from query Practical Computer Literacy, 2nd edition Chapter 17

How do I create a query using a Wizard? Simple Query Wizard – Would you like a detail or summary query? Detail option shows all specified fields for records The Summary option displays how many records match your criteria Simple Query Wizard – What title do you want for your query? Enter a title and click the Finish button to see the results of your query Practical Computer Literacy, 2nd edition Chapter 17

How do I create a query using a Wizard? To refine search, specify query criteria Example, to see only records of items costing more then $10: Close query window Right-click query tab Click Design View on shortcut menu Type >10 in criteria row under Price field Click Run button on Query Tools Design contextual tab Practical Computer Literacy, 2nd edition Chapter 17

How do I create a query using a Wizard? When window closed after viewing results of query specified by query criteria: Message asking - Do you want to save changes to design of query ‘Query Name’? Click Yes if you want to use same criteria every time you use query After query is saved, you can use it repeatedly on all data that matches criteria specified Practical Computer Literacy, 2nd edition Chapter 17

How do I create a query using a Wizard? Practical Computer Literacy, 2nd edition Chapter 17

How do I create a query using a Wizard? Practical Computer Literacy, 2nd edition Chapter 17