Viewing Tip: While viewing this presentation in your browser, select Browse, Full Screen. Then, when you want to pause the show, Right Click and select.

Slides:



Advertisements
Similar presentations
Microsoft Access.
Advertisements

Creating Online Presentations. Creating a Presentation To create a presentation 1.Open PowerPoint. In the task pane under New select From Design Template,
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
An Introduction to Forms (continued). The Major Steps of a MicroSoft Access Database  Tables  Queries  Forms  Macros  Reports  Modules On our road.
MS-Access XP Lesson 2. Input Mask Property 1.Field : Phone No Data Type : Number Input Mask : Character 0 represent a single digit and phone.
Customizing Reports. Custom Reports A report is a formatted hardcopy of the contents of one or more tables from a database. Although you can format and.
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.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Advanced Tables Lesson 9. Objectives Creating a Custom Table When a table template doesn’t suit your needs, you can create a custom table in Design view.
Chapter 3 Maintaining a Database
XP New Perspectives on Microsoft Access 2002 Tutorial 41 Microsoft Access 2002 Tutorial 4 – Creating Forms and Reports.
Your Tour Guide is Jim Provensal. What We Will Cover s Introduction to MicroSoft Access u What is a database u What is a “Relational” Database s The Major.
Microsoft Access Lesson 3
INF1050- Databases In this module you will use Microsoft Access to create digital databases.
Mail merge letters are used to send the same or similar documents to many different people. Since they contain the recipient’s name, address, and other.
Microsoft Access Get a green book. Page AC 2 Define Access Define database.
Mail merge I: Use mail merge for mass mailings Perform a complete mail merge Now you’ll walk through the process of performing a mail merge by using the.
Open the Goodyear Homepage Click on Teacher Tools.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
Office Management Tools II Ms Saima Gul.  When you create your tables, you should assign each table a primary key—one or more fields whose contents are.
XP New Perspectives on Microsoft Access 2002 Tutorial 21 Microsoft Access Tutorial 2 – Creating And Maintaining A Database.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Microsoft Access You will need a pen/pencil.. What is Microsoft Access? Access is a database management system.  Create a database, add/change delete.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T6: Basic Skills and Tools Using Access 2010 Business Driven Technology.
Click your mouse to continue. Creating a New Mail Merge Document When you need to create a form letter but do not have an existing main document, you can.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
Microsoft Access 2010 Chapter 10 Administering a Database System.
® Microsoft Office 2013 Access Creating a Database.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Creating Related Tables Creating Related Tables Determining.
Introduction to Database using Microsoft Access 2013 Part 7 November 19, 2014.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
McGraw-Hill/Irwin ©2005 The McGraw-Hill Companies, All rights reserved ©2005 The McGraw-Hill Companies, All rights reserved McGraw-Hill/Irwin.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
Lesson 01: Introduction to Database Software. At the end of this lesson, students should be able to: State the usage of database software. Start a database.
Click your mouse to continue. The Office Shortcut Bar The Office Shortcut Bar contains program buttons that, when clicked, start new documents or start.
Lesson 10 - Mail Merge and Reviewing Documents Advanced Microsoft Word.
Instructions.  Open up the letter that Adam has given to you  Format it so it look professional.
1 CHƯƠNG 4 Creating Relational Databases Understanding Table Relationships Example: This database tracks customers and their orders in two separate.
XP New Perspectives on Microsoft Access 2002 Tutorial 31 Microsoft Access 2002 Tutorial 3 – Querying a Database.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Merging Data into a Letter. Start with a letter that has places where you want to merge individual data ready to go.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
Work with Tables and Database Records Lesson 3 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft Access.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
Perform a complete mail merge Lesson 14 By the end of this lesson you will be able to complete the following: Use the Mail Merge Wizard to perform a basic.
Chapter 8 Using Document Collaboration, Integration, and Charting Tools Microsoft Word 2013.
Access Tutorial 2 Building a Database and Defining Table Relationships
Using Macros, Switchboards, PivotTables, and PivotCharts
For Letters, Labels or s Mail Merge For Letters, Labels or s.
Access Creating a Database
Access Creating a Database
CIS 155 INTRODUCTION TO ACCESS 2002
Tutorial 3 – Querying a Database
Introduction to Database Programs
Microsoft Office Access 2003
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Introduction to Database Programs
Grauer and Barber Series Microsoft Access Chapter One
Relationships While we are on the subject of Relationships, let’s take a quick look at them.
Presentation transcript:

Viewing Tip: While viewing this presentation in your browser, select Browse, Full Screen. Then, when you want to pause the show, Right Click and select Screen / Pause. Click to Start

For this lab you should have followed these steps, in “EXACT” order. 1. Fill in a “Task Sheet” for your database. 2. Fill in 2 “Subject Sheets”. One for each table identified on the Task Sheet. 3. Create a new Database with two tables using the data from your two subject sheets. 4. Define a relationship between the two tables. 5. Print a Table Definition for each table created. 6. Print a datasheet for each table.

Using the task sheet, you should identify and record the task at hand with a brief description. The Task Sheet Track Customer and Pet Visits To provide a record of Customers and each corresponding pet visit. Invoicing and Mailing Lists

You should then list all of the unique pieces of information (fields) that you will need in your database. The Task Sheet Track Customer and Pet Visits To provide a record of Customers and each corresponding pet visit. Invoicing and Mailing Lists CustomerNum CustomerName Address PetID Pet Name

You should then list all of the unique pieces of information (fields) that you will need in your database. The Task Sheet Track Customer and Pet Visits To provide a record of Customers and each corresponding pet visit. Invoicing and Mailing Lists CustomerNum CustomerName Address PetID Pet Name At this point, it doesn’t matter what order the data is listed in, just as long as it is listed.

Keeping in mind that Access is a relational database, you should also identify the subject (table) that each piece of data will eventually end up in. The Task Sheet CustomerNum CustomerName Address PetID Pet Name Track Customer and Pet Visits To provide a record of Customers and each corresponding pet visit. Invoicing and Mailing Lists Customer Customer Customer Pet Pet

The Task Sheet CustomerNum CustomerName Address PetID Pet Name Track Customer and Pet Visits To provide a record of Customers and each corresponding pet visit. Invoicing and Mailing Lists Customer Pet On the task sheet, column #1 is for the field name and column #4 is the table name. If you feel the need to describe a field, use the description column. Ignore the usage column (Column #2) for our labs.

CustomerNum CustomerName Address PetID Pet Name Track Customer and Pet Visits To provide a record of Customers and each corresponding pet visit. Invoicing and Mailing Lists Customer Pet When the task sheet has been completed, count the number of tables identified in column #4 and make up one subject sheet for each table. The Subject Sheet

Task Sheet Subject Sheet CustomerNum CustomerName Address PetID Pet Name Track Customer and Pet Visits To provide a record of Customers and each corresponding pet visit. Invoicing and Mailing Lists Customer Pet

Task Sheet Subject Sheet CustomerNum CustomerName Address PetID Pet Name Track Customer and Pet Visits To provide a record of Customers and each corresponding pet visit. Invoicing and Mailing Lists Customer Pet Notice below that two tables have been identified, the Customer Table and the Pet Table.

Task Sheet Customer Subject Sheet Pets Subject Sheet CustomerNum CustomerName Address PetID Pet Name Track Customer and Pet Visits To provide a record of Customers and each corresponding pet visit. Invoicing and Mailing Lists Customer Pet We would therefore need two Subject Sheets, one for the Customer Subject (table) and one for the Pet Subject (table).

Identify the table name and description of each subject at the top of each subject page. The Subject Sheet Customer Pets

Indicate the relationship to any other tables for each subject. example: Related Subjects: NameRelationship Pets Manyor One to Many The Subject Sheet Pets CustomerOne to Many

Task Sheet Subject Sheet Transcribe the data from the task sheet, to each respective subject sheet listing the field name in column #1 and then indicate what the data type is for each field in column #2. Ignore the Validation Rule column for our labs.

CustomerNum CustomerName Address PetID Pet Name Customer Pet Track Customer and Pet Visits To provide a record of Customers and each corresponding pet visit. Invoicing and Mailing Lists CustomerNum CustomerName Customer Pets Task SheetCustomer Subject Sheet

CustomerNum CustomerName Address PetID Pet Name Customer Pet Track Customer and Pet Visits To provide a record of Customers and each corresponding pet visit. Invoicing and Mailing Lists CustomerNum CustomerName Customer Pets Task SheetCustomer Subject Sheet

Pets One to Many CustomerNum CustomerName After all the data has been transcribed to each respective Subject (table) sheet, it’s time to identify the data type for each Data Name. (see page AC 2.05 in your book for the different data types available)

Next, create a new, blank database named Lab1nnnn.mdb, where nnnn is the last 4 digits of your Student ID Number, and using your subject tables, create the tables and fields indicated on the subject sheets. (pay close attention to data types)

To create a new database, you must first start Microsoft Access. See Page AC 1.07 in your book for instructions on starting the program. From your task bar, select “Start” “Programs” “Microsoft Access”

As Access launches, you will see this screen appear.

Select the Blank Access database radio button above, and then click the OK button.

The next screen that will appear is the “File New Database” Screen. This will ask you two very important questions.

First, you must tell Access where you want your new database, by selecting the Folder in the “Save In:” box shown above.

Next, you must name your new database in the “File Name:” box below. Remember, if you plan on keeping your database, name it something other than DB1.mdb.

Finally, click on the “Create” Button below to create your named database in the folder that you selected.

After clicking on the “Create” button, a new, blank, database will be created and open in the Database window.

To create a new table, click on the Tables object tab on the left, then click on the New command button on the top. (see page AC 2.06 in your book)

Since we have two Subject Sheets, (Customer and Pets) we should create two tables, one for each, and name them accordingly.

Select the “Design View” option from the “New Table” dialog box and then click on the OK button.

You are now ready to define your new table using the information from your subject sheet.

Customer Subject Sheet Pets Subject Sheet Fill in the required data for each table using the data on it’s respective subject sheet.

When the two tables have been completed and saved, from the Menu Bar, select Tools / Analyze / Documenter. Note: do this for each table.

Select the table, and click the OK button.

This will produce a documentation report of the table in print preview mode. Look it over carefully, it gives you a lot of information regarding your table. (and it is what will be used to grade your lab)

RelationshipsRelationships Next it’s time to create our relationship between the two tables.

Relationships Remember or example about the customer and order tables? One Customer, hopefully many orders?

Relationships We can join the two tables together by joining the common field in the One Side, [Customer].[CustomerNum] to the common field in the Many Side, [ Order].[CustomerNum].

Relationships To do that, we start at the database window, select Tools from the Menu Bar and then select Relationships.

Relationships From the resulting “Relationships” window, we select Relationships, and Show Table...

Relationships From the resulting “Show Table” window, we select Our “One Side” table (customers in this case), and then click “Add”.

Relationships We then select our “Many Side” table, (order in this case) and then again click “Add”.

Relationships Then, simply click the Close Button.

Relationships We will then be back to our Relationships window with the Customer and Order tables showing.

To create a relationship (join), click on the common field (CustomerNum) in the One Side (left side), hold the button down, and drag to the common field (CustomerNum) in the Many Side (Order Table) and release the button.

As soon as we release the mouse button on top of the CustomerNum field in the Order Table, the Edit Relationships window appears. This window first, gives us a chance to verify that we selected the correct fields and the ability to change them if we did not.

We then can “Enforce Referential Integrity” if we so desire by simply clicking in the “Enforce Referential Integrity” check box.

Just what is Referential Integrity? Simply put, using an example, if you have Referential Integrity enforced, when you enter a customer number in your order table, and that customer number does not exist in your customer table, Access will will give you a message saying that you can not enter that customer number as it does not exist in the customer table.

If we choose to “Enforce Referential Integrity” we then have two more options available to us, Cascade Update Related Fields and Cascade Delete Related Records.

Notice Access automatically determines the Relationship type.

If you know that you have a one to many relationship, and this says you have a one-to-one relationship, check the fields above to make sure that you have selected the proper common field in both tables.

Relationships The final step is to click on the Create Button.

Relationships If we selected to “Enforce Referential Integrity” we will see a join line showing the one on the left and the infinity sign (many) on the right.

If we selected Not to “Enforce Referential Integrity”...

we will see a plain join line without the one on the left and the infinity sign (many) on the right.

Relationships The final step is to select File and then Save from the Relationships window.

Relationships and then select File and Close.