Tutorial 2. Building a Database and Defining Table Relationships

Similar documents
Access Tutorial 2 Building a Database and Defining Table Relationships

New Perspectives on Microsoft Access Module 2: Building a Database and Defining Table Relationships

Microsoft Access 2010

Tutorial 1. Creating a Database

Microsoft Access 2013

GO! with Microsoft Access 2016 Comprehensive

Microsoft Access 2010

COMM 391. Objectives. Introduction to Microsoft Access. What is in an Access database file? Introduction to Microsoft Access 2010

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Microsoft Access 2013

Microsoft Access 2013

Enforce Referential. dialog box, click to mark the. Enforce Referential. Integrity, Cascade Update Related Fields, and. Cascade Delete Related

Creating Automated Dashboard Excel 2013 Contents

1. Right-click the worksheet tab you want to rename. The worksheet menu appears. 2. Select Rename.

Administering a Database System

More Skills 12 Create Indexes and Establish a One-to-One Relationship. To complete this database, you will need the following file:

SPREADSHEET (Excel 2007)

INTRODUCTION ACCESS 2010

The specific steps to build Wooden Crafts database are here: 1. Create New Database. i. After opening Access, click Blank Desktop Database :

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Test Bank Database Processing Fundamentals Designand Implementation 14th Edition Kroenke

Introduction to Microsoft Access 2016

COMM 391 Winter 2014 Term 1

Access Review. 4. Save the table by clicking the Save icon in the Quick Access Toolbar or by pulling

Switchboard. Creating and Running a Navigation Form

Complete Quick Reference Summary

Microsoft Excel Chapter 1. Creating a Worksheet and an Embedded Chart

More Skills 14 Use a Query to Find Unmatched Data. To complete this database, you will need the following file:

New Perspectives on PowerPoint Module 2: Adding Media and Special Effects

Creating and Using a Database in Access 2007

Nutzen Sie die Dettmer-Seminarunterlagen für Access bei einmaligem Kauf über Jahre hinaus für Ihre eigenen Schulungen

CHAPTER 6 SUMMARY. Objective 1: Identify Good Database Design

MICROSOFT EXCEL BIS 202. Lesson 1. Prepared By: Amna Alshurooqi Hajar Alshurooqi

Intermediate Microsoft Access 2010

Microsoft Office Specialist Access 2016

Getting started with Ms Access Getting Started. Primary Key Composite Key Foreign Key

Word Module 5: Creating and Formatting Tables

Integrating Word, Excel, Access, and PowerPoint

Access Test Chapters 1 and 2

Mark for Follow Up. Address Book. To Delete a Message: Select the message and press the Delete key. To Create a New Message:

Candy is Dandy Project (Project #12)

New Perspectives on Microsoft Access Module 1: Creating a Database

Englische Access 2016-Trainingsskripte für IT Seminare und EDV Schulungen als Word-Dokument zum Ausdrucken und fürs Intranet

Excel Main Screen. Fundamental Concepts. General Keyboard Shortcuts Open a workbook Create New Save Preview and Print Close a Workbook

More Skills 11 Export Queries to Other File Formats

Microsoft Power BI Tutorial: Importing and analyzing data from a Web Page using Power BI Desktop

Lesson 1: Exploring Excel Return to the Excel 2007 web page

Microsoft Access II 1.) Opening a Saved Database Music Click the Options Enable this Content Click OK. *

Access 2007: Basic Instructor s Edition

Open. Select the database and click. Print. Set printing options using the dropdown menus, then click the

Database Tables Lookup Wizard Relationships Forms Subforms Queries Reports

Preview New Features of Office 2007 Programs

6. In the last Import Wizard dialog box, click Finish. Saving Excel Data in CSV File Format

Microsoft Office Excel 2003

Microsoft Word - Starting the Mail Merge Wizard

ACCESS 2007 FOUNDATION

MICROSOFT EXCEL TUTORIAL HANDOUT

Microsoft Word 2010: Using Mail Merge

EVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited

Access 2016 Essentials Syllabus

You can clear the sample data from the table by selecting the table and pressing Delete.

Lesson 1: Exploring Excel Return to the FastCourse Excel 2007 Level 1 book page

Mail Merge. To Use Mail Merge: Selecting Step by Step Mail Merge Wizard. Step 1:

COMM335 Summer 2016 (Tutorial 1) (1) Creating Tables in a Database

Tutorial 1 Creating a Database

Creating User-Friendly Databases

Microsoft Access 2007 Module 1

Introduction to Microsoft Access

Level 6 Relational Database Unit 3 Relational Database Development Environment National Council for Vocational Awards C30147 RELATIONAL DATABASE

Excel window. This will open the Tools menu. Select. from this list, Figure 3. This will launch a window that

Module 4: Creating Content Lesson 5: Creating Visualizations Try Now!

Excel 2013 PivotTables and PivotCharts

Microsoft Access 2010

Open Excel by following the directions listed below: Click on Start, select Programs, and the click on Microsoft Excel.

Basic tasks in Excel 2013

Creating a Crosstab Query in Design View

Business Process Procedures

Objective 1: Familiarize yourself with basic database terms and definitions. Objective 2: Familiarize yourself with the Access environment.

Introduction to Computer Applications. CISY 1225 Chapter 10. Zahoor Khan, PhD

GO! with Microsoft Access 2010 Introductory Gaskin Mclellan Graviett First Edition

Office 2016 Excel Basics 25 Video/Class Project #37 Excel Basics 25: Power Query (Get & Transform Data) to Convert Bad Data into Proper Data Set

What s New in Access 2007

Table of Contents COURSE OVERVIEW... 5

Some useful shortcut keys applicable for both Excel and Word (16 to 19 is only for Excel): Sr.No. Shortcut Keys Description

Microsoft Certified Application Specialist Exam Objectives Map

Database Design Practice Test JPSFBLA

3. Click the Change Case button. 4. On the menu, click the desired case option. Managing Document Properties

Microsoft Access 2003

Introduction to Microsoft Excel

Database Design Lab: MS Access Queries

When you pass Exam : Access 2010, you complete the requirements for the Microsoft Office Specialist (MOS) - Access 2010 certification.

Microsoft Excel Chapter 2. Formulas, Functions, and Formatting

COMM 391 Winter 2014 Term 1. Tutorial 1: Microsoft Excel - Creating Pivot Table

WEEK NO. 12 MICROSOFT EXCEL 2007

Access Groups. Collect and Store. Text Currency Date/Time. Tables Fields Data Type. You Your Friend Your Parent. Unique information

Microsoft Access 2007 Level 3

Microsoft Office Illustrated Introductory, Building and Using Queries

Microsoft How to Series

1.8.1 Research various database careers SE: 335

Index. B backing up 76 7

Transcription:

Tutorial 2 Building a Database and Defining Table Relationships Microsoft Access 2010

Objectives Learn the guidelines for designing databases and setting field properties Modify the format of a field in Datasheet view Create a table in Design view Define fields and specify a table s primary key Modify the structure of a table New Perspectives on Microsoft Access 2010 2

Objectives Import data from an Excel worksheet Create a table by importing an existing table structure Add fields to a table with the Data Type gallery Delete, rename, and move fields Add data to a table by importing a text file Define a relationship between two tables New Perspectives on Microsoft Access 2010 3

Table Window in Design View New Perspectives on Microsoft Access 2010 4

Guidelines for Designing Databases Identify all the fields needed to produce the required information Organize each piece of data into its smallest useful part Group related fields into tables Determine each table s primary key Include a common field in related tables Avoid data redundancy Determine the properties of each field New Perspectives on Microsoft Access 2010 5

Guidelines for Setting Field Properties You must name each field, table, and other object Choose an appropriate data type New Perspectives on Microsoft Access 2010 6

Guidelines for Setting Field Properties The Field Size property defines a field value s maximum storage size for Text, Number, and AutoNumber fields only Byte Integer Long Integer Single Double Replication ID Decimal New Perspectives on Microsoft Access 2010 7

Changing the Format of a Field in Datasheet View New Perspectives on Microsoft Access 2010 8

Creating a Table in Design View Creating a table in Design view involves entering the field names and defining the properties for the fields, specifying the primary key, and saving the table structure New Perspectives on Microsoft Access 2010 9

Defining a Field in Design View In the Field Name box, type the name for the field, and then press the Tab key Accept the default Text data type, or click the arrow and select a different data type for the field. Press the Tab key Enter an optional description for the field, if necessary Use the Field Properties pane to type or select other field properties, as appropriate New Perspectives on Microsoft Access 2010 10

Defining a Field in Design View New Perspectives on Microsoft Access 2010 11

Specifying the Primary Key in Design View Display the table in Design view Click in the row for the field you ve chosen to be the primary key to make it the active field. If the primary key will consist of two or more fields, click the row selector for the first field, press and hold down the Ctrl key, and then click the row selector for each additional primary key field In the Tools group on the Design tab, click the Primary Key button New Perspectives on Microsoft Access 2010 12

Specifying the Primary Key in Design View New Perspectives on Microsoft Access 2010 13

Moving a Field To move a field, you use the mouse to drag it to a new location in the Table window in the Table Design grid New Perspectives on Microsoft Access 2010 14

Adding a Field Between Two Existing Fields In the Table window in Design view, select the row below where you want the new field to be inserted In the Tools group on the Design tab, click the Insert Rows button Define the new field by entering the field name, data type, optional description, and any property specifications New Perspectives on Microsoft Access 2010 15

Adding a Field Between Two Existing Fields New Perspectives on Microsoft Access 2010 16

Table Relationship New Perspectives on Microsoft Access 2010 17

Importing Data from an Excel Worksheet The import process allows you to copy the data from a source without having to open the source file Click External Data on the Ribbon Click the Excel button in the Import & Link group to start the wizard New Perspectives on Microsoft Access 2010 18

Importing Data from an Excel Worksheet New Perspectives on Microsoft Access 2010 19

Importing Data from an Excel Worksheet New Perspectives on Microsoft Access 2010 20

Importing Data from an Excel Worksheet New Perspectives on Microsoft Access 2010 21

Creating a Table by Importing an Existing Table Structure Make sure the External Data tab is the active tab on the Ribbon In the Import & Link group, click the Access button Click the Browse button Navigate to the file Make sure the Import tables, queries, forms, reports, macros, and modules into the current database option button is selected, and then click the OK button Click the Options button New Perspectives on Microsoft Access 2010 22

Creating a Table by Importing an Existing Table Structure New Perspectives on Microsoft Access 2010 23

Adding Fields to a Table Using the Data Type Gallery The Data Type gallery, available in the Add & Delete group on the Fields tab, allows you to add a group of related fields to a table at the same time, rather than adding each field to the table individually The group of fields you add is called a Quick Start selection New Perspectives on Microsoft Access 2010 24

Adding Fields to a Table Using the Data Type Gallery New Perspectives on Microsoft Access 2010 25

Deleting a Field from a Table Structure In Datasheet view, click the column heading for the field you want to delete In the Add & Delete group on the Fields tab, click the Delete button or In Design view, click the Field Name box for the field you want to delete In the Tools group on the Design tab, click the Delete Rows button New Perspectives on Microsoft Access 2010 26

Deleting a Field from a Table Structure New Perspectives on Microsoft Access 2010 27

Adding Data to a Table by Importing a Text File Click the External Data tab on the Ribbon In the Import & Link group, click the Text File button Click the Browse button Navigate to the file Click the Append a copy of the records to the table option button Select the table Click the OK button New Perspectives on Microsoft Access 2010 28

Adding Data to a Table by Importing a Text File New Perspectives on Microsoft Access 2010 29

Defining Table Relationships One of the most powerful features of a relational database management system is its ability to define relationships between tables You use a common field to relate one table to another New Perspectives on Microsoft Access 2010 30

Defining Table Relationships New Perspectives on Microsoft Access 2010 31

Defining Table Relationships A one-to-many relationship exists between two tables when one record in the first table matches zero, one, or many records in the second table, and when one record in the second table matches at most one record in the first table The Primary table is the one in a one-tomany relationship The Related table is the many table New Perspectives on Microsoft Access 2010 32

Defining Table Relationships Referential integrity is a set of rules that Access enforces to maintain consistency between related tables when you update data in a database The Relationships window illustrates the relationships among a database s tables Click the Database Tools tab on the Ribbon In the Relationships group on the Database Tools tab, click the Relationships button New Perspectives on Microsoft Access 2010 33

Defining Table Relationships New Perspectives on Microsoft Access 2010 34

Defining Table Relationships New Perspectives on Microsoft Access 2010 35

Defining Table Relationships New Perspectives on Microsoft Access 2010 36