Microsoft Access 2007 Module 1

Similar documents
Microsoft Access 2007 Module 2

Introduction to Microsoft Access 2016

Microsoft Access 2010

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

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

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

Complete Quick Reference Summary

Microsoft Access Basics

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

Database Tables Lookup Wizard Relationships Forms Subforms Queries Reports

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

Microsoft Certified Application Specialist Exam Objectives Map

MODULE 5 DATABASES. Content

Microsoft Office Specialist Access 2016

GO! with Microsoft Access 2016 Comprehensive

Microsoft Office Access 2013: Part 01. Lesson 01 - Getting Started with Access

Intermediate Microsoft Access 2010

Links to Activities ACTIVITY 2.1. Links to Activities

Microsoft Word 2007 Module 1

Computer Skills MS Access Work Sheet # 1

MIS Cases: Decision Making With Application Software, Second Edition. Database Glossary

Office Applications II Lesson Objectives

Database Design Practice Test JPSFBLA

TECHNOLOGY COMPETENCY ASSESSMENT MODULE Microsoft Access

Productivity Tools Objectives 1

Productivity Tools Objectives

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

SEE GRADING CRITERIA AT THE BOTTOM. Database Tables Lookup Wizard Relationships Forms Queries Reports

ACCESS. Laboratory Manual. Çankaya University Department of Computer Engineering

Access Intermediate

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

Microsoft Excel 2013 Table of content

New York City College of Technology. Microsoft Word Contact Information:

Tutorial 2. Building a Database and Defining Table Relationships

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

CHAPTER 6 SUMMARY. Objective 1: Identify Good Database Design

Copyright 2009 Labyrinth Learning Not for Sale or Classroom Use LESSON 1. Designing a Relational Database

Introduction to Microsoft Office Access 2010

Index. B backing up 76 7

Rev. C 11/09/2010 Downers Grove Public Library Page 1 of 41

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

What is a database? A database is any collection of data that is organized for quick retrieval. Databases can be computer based or paper based

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

Table of Contents. Word. Using the mouse wheel 39 Moving the insertion point using the keyboard 40 Resume reading 41

North Shore Innovations, Ltd.

What is a database? Lesson - 1

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

ACCESS 2007 FOUNDATION

Chapter 4: Single Table Form Lab

INTRODUCTION ACCESS 2010

Microsoft Access Description

K Hinds Page 1. Information Communication Technology Microsoft Access

Working with Data in Microsoft Excel 2010

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

Access 2007: Basic Instructor s Edition

Access 2003 Introduction

Word Module 5: Creating and Formatting Tables

Excel Select a template category in the Office.com Templates section. 5. Click the Download button.

EXCEL 2010 COMPETENCIES

By: Access 2007 Table

Table of Contents COURSE OVERVIEW... 5

Microsoft Excel Keyboard Shortcuts

Microsoft Access 2010 Beginning Written By: Jeff Hutchinson

Very Short Answer Type Questions [1 Mark each]

Ms excel. The Microsoft Office Button. The Quick Access Toolbar

Microsoft Office 2016 Mail Merge

Quick Reference Card Business Objects Toolbar Design Mode

BrainyBetty.Com presents: Mail merge I: Use mail merge for mass mailings

PowerSchool Handbook Federal Survey Card Report

AUSTIN COMMUNITY COLLEGE CONTINUING EDUCATION. INTRODUCTION TO DATABASE/FILE MANAGEMENT (Access Introduction) (12 hours) ITSW 1053 COURSE SYLLABUS

Microsoft Excel 2010 Basic

Exploring Microsoft Office Access Chapter 2: Relational Databases and Multi-Table Queries

MIS 2502 Access 2007 Tutorial

Access. Basics PRESENTED BY THE TECHNOLOGY TRAINERS OF THE MONROE COUNTY LIBRARY SYSTEM

ACCESS 2007 ADVANCED

Access 2007 Introduction

AVANTUS TRAINING PTE LTD

IT2.weebly.com Applied ICT 9713

Simple Invoicing Desktop Database with MS Access 2013/2016. David W. Gerbing School of Business Administration Portland State University

Contents. Creating Forms

Access Intermediate

SOFTWARE SKILLS BUILDERS

MS Access Let s begin by looking at the toolbar and menu of Access.

GO! with Microsoft Access 2016 Comprehensive

Rev. B 12/16/2015 Downers Grove Public Library Page 1 of 40

AVANTUS TRAINING PTE LTD

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

Course: US02EBCA02 (Working with RDBMS for Small Scale Organizations) Effective from June

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

Links to Activities ACTIVITY 4.1. Links to Activities Links to Activities

Tutorial 1. Creating a Database

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

PowerSchool Handbook Federal Survey Form Report

Microsoft Power Point 2007 Module 2

WAYNESBORO AREA SCHOOL DISTRICT COMPUTER APPLICATIONS

Excel 2007 Tutorials - Video File Attributes

Chapter11 practice file folder. For more information, see Download the practice files in this book s Introduction.

Access: Using Forms for Data Entry and Editing

Microsoft Office Access 2013

Access 2016 Essentials Syllabus

Transcription:

Microsoft Access 007 Module http://citt.hccfl.edu

Microsoft Access 007: Module August 007 007 Hillsborough Community College - CITT Faculty Professional Development

Hillsborough Community College - CITT Faculty Professional Development The material contained in this training material is copyrighted 007 Hillsborough Community College CITT Faculty Professional Development and may not be reproduced without express, written permission. Other trademarks, trade names, logos, designs, brand names, and product services mentioned in this publication may be trademarks or registered trademarks of third parties.

Microsoft Access 007 - Module I Table of Contents Objectives...................................... Database Structure............................... Database Terminology.............................. Relationships One-to-many................................ 4 Many-to-many............................... 4 One-to-one................................. 5 Create a New Database............................ 6 Access 007 Tour and Features....................... 7 Create a Table in Datasheet View...................... 8 Edit a Table in Design View.......................... 9 Save a Table................................... 0 Enter Data.................................... Data Types.................................... Use Input Mask Wizard............................ Data Type: Yes/No............................... 4 Data Type: Lookup Wizard......................... 5 Insert and Delete Fields........................... 7 Set a Primary Key............................... 8 Form Wizard................................... 9 Split Form..................................... i

Microsoft Access 007 - Module I Objectives At the end of this training session you should be able to:... 4. 5. 6. Understand the three types of relationships: one-to-many, many-tomany and one-to-one; Create a new database; Create tables for data entry in datasheet view and design view; Enter data into a table; Use, understand, and set data types: text, memo, number, currency, date/time, autonumber, yes/no, lookup wizard; Insert and delete a field; 7. Create and delete a primary key; 9. Create a form using the Wizard tool; 0. Create a split form.

Hillsborough Community College - CITT Faculty Professional Development

Microsoft Access 007 - Module I Before a database is developed, plan the structure from the beginning to the end. Flowcharting or blueprinting in advance will eliminate restructuring and/or starting from scratch. Questions to Ask Before Designing a Database:. What does the database need to do?. What functions need to be achieved?. Which objects (such as tables, forms) depend on each other? 4. What items are needed for the database? 5. Who will use the database? 6. How will the output data (report) be generated? 7. How will the database be organized? Access Database Terminology It is necessary to understand and be familiar with the basics of a database and its objects to create or generate information. Table- The central framework of a database that stores data in fields (columns) and records (rows). Query- Allows for table inquiries. A query can change, delete, add, arrange data in tables. Also aids gathering information for forms and reports. Form- Displays and enters data in a fitted format. Forms can also contain other nested forms (subforms). Report- Allows for the printing and print preview of information such as labels, lists, form letters, invoices, summaries, display charts, etc. The user can personalize reports by adding a logo or picture, organizing headers, details, footers, and sorting columns. Page- Also known as Data Access Page. Allows the publication of a web page and web access to a database. A page can be viewed and edited. Macro- Allows for automating simple and common tasks such as opening and closing a form, exporting data, printing data in a report, and saving data.

Hillsborough Community College - CITT Faculty Professional Development When organizing and creating a database, the question, "How will the objects (tables) relate?" must be asked. There are three types of relationships in Microsoft Access: One-to-many Many-to-many One-to-one Table One-to-many relationship The most common type of relationship. A record from one table (Table ) can have matching records in another table (Table ); however, Table has only one matching record in Table. Let's look at the example.. One Department Table. has more than one Course,. yet each Course has one Department. Many-to-many relationship Not recommended due to problems enforcing referential integrity. A record from one table (Table ) can have many matching records in another table (Table ). Also, a record in Table can have many matching records in Table. This is possible through the use of a third table called a junction table. The junction table has a primary key that consists of two fields from Tables and. Table Let's look at the example.. Primary key from Inventory Details table (tblinventdetails). Primary key from the equipment table (tblequipment). One department can have several types of equipment, 4. And each type of equipment can appear in several departments. 4 Table Junction Table

Microsoft Access 007 - Module I One-to-one relationship Least common type of relationship. However, a one-to-one relationship is useful if there are records that must be kept confidential and secure. A record from one table (Table ) can have one single matching record in another table (Table ), and Table can have only one single matching record in Table. Let's look at the example.. All students have one matching record in the student table (tblstudents).. The values are a subset of the social security field and the student table (tblstudents).

Hillsborough Community College - CITT Faculty Professional Development Create a New Database Before creating tables and forms, creating a general database is recommended.. Open Access 007. Go to Start > All Programs > Microsoft Office > Microsoft Office Access 007. You have the option to: A. Open a Microsoft template B. Open a recent database C. Open a Blank Database. For this exercise, we will choose this option.. Type the file name of the database. e.g. HCC_Employee_Data 4. Click Create. C A B 4

Microsoft Access 007 - Module I Access 007 Tour and Features The top of the screen has been rearranged in Access 007. Instead of concealed toolbars and commands, you have one control center, called the Ribbon. The Ribbon area includes Office Button, the Quick Access Toolbar, tabs, groups and commands. Ribbon Area 4. Select the Office Button to access most of what used to be under the File menu, such as Open, Save and Print.. The Quick Access Toolbar includes buttons to Save, Undo and Redo. You can customize this toolbar by adding your favorite commands. Just click the down arrow to the right of the Redo button.. Tabs include Home, Create, External Data, Database Tools and Datasheet. Tabs, such as Table Tools will appear when you are working on a related task. 4. Groups include related commands. For example, the Font group includes the buttons for font type, font size, font color, alignment, etc. 5. Commands are the actual task buttons, such as Bold, Underline, Italicize, etc. 5 Examples of New Features. Database Templates. Split Form. Enhanced Datasheet View 4. Memo fields support rich text 5. Attachment data type 7

Hillsborough Community College - CITT Faculty Professional Development Create a Table In Datasheet View Creating a table in Datasheet View gives you access to the field names (data headings), data types and the actual data.. When you first open a Blank Database, a new table is created for you. To create one yourself, go to the Create tab. Under the Tables group, select Table.. The default view for a new table is Datasheet view. The first field (column) is automatically named ID, the data type is AutoNumber and it is the assigned Primary Key. You can delete or edit this field, if your table does not need an ID field. For now, let s leave it there. We will use it later.. Double click on Add New Field and type in the new field name of LastName. When entering field names, do not use spaces or punctuation. 4. Type in Smith, in the first row under the new heading of LastName. 5. The Data Type is set to Text. If you had typed in numbers, the data type would have been Number. 5 4 If you need to change data types, click on the down arrow in the box next to Data Type to make your selection. Go to the Data Type section in this booklet for descriptions or hit F on your keyboard for more details and help on data types. Primary keys are not required; however, they are needed to create relationships between tables in a database. Primary keys cannot be duplicated; therefore, never use a last name, address, or a field where information is likely to be repeated. Ideal primary keys are employee numbers, social security numbers, product numbers, etc.

Microsoft Access 007 - Module I Edit a Table In Design View Creating or editing a table in Design View gives you freedom to construct a table with specifications for data collection. You do not type in the actual data in this screen. You are setting up the table structure - field names, data types, field size, data validation, etc.. The default view for a new table is Datasheet view. In the Home tab>views group, select the Design View button to switch to Design View.. If prompted, save your table as tblemployeeinfo.. To add or edit fields, type in the Field Name column. When entering field names, do not use spaces or punctuation. 4. Under Data Type, click on the down arrow and select an appropriate data type. Go to the Data Type section in this booklet for descriptions or hit F on your keyboard for more details and help on data types. 5. You can set more specific settings for your data types in Design View. For example, locate the General tab and type 0 for the Field Size of LastName. Typing in 0 for the field size indicates that the last name can be no more than 0 characters long. 6. Type a label for the Caption. e.g. Last Name: 5 6 4 Activity Spaces and punctuation can be used for captions. Whatever is typed in the caption will appear in both forms and reports. If no caption is entered, the field name will appear instead. Add the following fields to the table, FirstName, MI (middle initial), Street, City, State, Zip, Exempt, Phone and Campus. Also add the Field Size and Caption for each field name.

Hillsborough Community College - CITT Faculty Professional Development Save a Table Saving a table with a specific title will help when organizing information, creating queries, forms, and pages, and connecting to other tables.. To save the current table, click the Save button in the Quick Access Toolbar.. You can also get to a Save button through the Office Button.. You can use Save As, from the Office Button to rename the database, save a copy or to save it in another format, such as in a previous version. 0

Microsoft Access 007 - Module I Enter Data into a Table Once a table has been created, data can be entered.. If your new table is not open, double click on its title, in the Navigation Pane.. In the Home tab>views group, select Datasheet View.. Under FirstName, type in new data. e.g. Sue 4. Type in data for MI, Street, City and State. 5. Click Save. 4 Activity Create a new table, tblcampus. Add one field to the table, Campus. Open the table and add the data, BR, DAO, DM, MacDill, PC, SPC, YB.

Hillsborough Community College - CITT Faculty Professional Development Data Types It is important to assign appropriate data types to a field since they specify what type of data can be entered into a field. Data Type Text Memo Number Currency Date/Time AutoNumber Yes/No OLE Object Hyperlink Lookup Wizard Attachment Description Can contain any entries that do not require calculations such as addresses, social security numbers, dates, and phone numbers. Maximum number of characters, including spaces, is 55 characters. Long text or number entries. Use when more than 55 characters are necessary. Can contain only numbers. Can be positive or negative. Used for calculations. Can contain only monetary data. Can be used in calculations. Add date and time. 8 character default. Use when sequential, random, or replication ID numbers are needed. Use when Yes/No, True/False, or On/Off are necessary. Add objects such as Excel workbooks or Word documents that are linked or embedded. Link to files, objects or web links. Use when choosing data such as tables or a list of values. Can contain an attached file, such as images or documents.

Microsoft Access 007 - Module I Use Input Mask Wizard The Input Mask Wizard allows the designer to define the format for entering data. In this example, a format is set for entering a zip code. To use the input mask wizard the table must be in Design View.. If you don t have the Zip field yet, type Zip under the Field Name column.. Select Text for Data Type.. Type Zip: for the Caption. 4. Click in the field property for Input Mask. 5. Click on the build button. The Input Mask Wizard appears. 4 5 6. Select Zip Code and click on Next. 7. You can alter the mask and select a placeholder, if you would like. When your changes are complete, click on Next. The underscore _ is the default placeholder character. 8. Click on the With the symbols in mask radio button. 6 9. Click Next and Finish. Notice that the mask is added under Field Properties>Input Mask. 0. Now all entries in the zip code field will have to follow this format. Go to the Datasheet View to test out the mask. 7 8

Hillsborough Community College - CITT Faculty Professional Development Data Type: Yes/No Data types are used to specify what type of data can be entered and stored into a field. In this example, the Yes/No data type is used for Exempt. Using the Yes/No format is helpful for simple, clear-cut answers. You can edit data types in either Datasheet View or Design View. We ll use Design View.. If necessary, enter the Exempt field under the Field Name column.. Under Data Type, click on the down arrow and select Yes/No. Go to the Datasheet View. Yes is represented by a check and No is not checked in the Datasheet View.. Select Yes, if you are prompted to save the table. 4. Select Yes, if you are prompted that you may lose data due to the data type change. 5. Test and view the yes/no format in the Exempt field. 4 Yes/No also represents the following: True/ False, /0, and On/Off. 5 4

Microsoft Access 007 - Module I Data Type: Lookup Wizard The purpose of the Lookup Wizard is to connect one field from one table to another table or a list of values. Using the Lookup Wizard is useful when choices need to be limited. For instance, Hillsborough Community College has the campus location of District Administrative Offices. If members of the HCC community were to type District Administrative Offices in a table, they could type GK, DAO, District Administrative Offices or some other spelling/misspelling. Therefore, restricting the location to DAO ensures the same information is entered. In this example, a drop-down menu is created by using the Lookup Wizard, which will connect to tblcampus. To use the Lookup Wizard the table must be in Design View.. If necessary, type in the Field Name. e.g. Campus. Under Data Type, click on the down arrow and select Lookup Wizard.. A Lookup Wizard dialog box appears. Click on the I want the lookup column... radio button. 4. Click on Next. 5. Select the table for the lookup. e.g. Table: tblcampus 6. Click on Next. 4 5 6 5

Hillsborough Community College - CITT Faculty Professional Development 7. Select the available field(s) to include by selecting the field(s) and clicking on the singleheaded next arrow. e.g. Campus 8. Click on Next. 9. Set sort order as needed and click on Next. e.g. Campus, Ascending 0. Select Hide key column and click on Next.. After entering the label name for the lookup column, click on Finish. e.g. Campus. Click Yes to save table and create relationships. 7 8 To view the down-drop menu for the different campuses, click on the Datasheet View button. 9 To manually add a drop down menu, select Lookup Wizard... as the Data Type. Select I will type in the values I want and follow the wizard. 0 Activity Use the Lookup Wizard to connect the field name State to a table called tblstate or manually add a lookup for State. You do not need to include every state. 6

Microsoft Access 007 - Module I Insert and Delete Fields After a table is created, additional field names may to be added or deleted. In this example, we are adding an EmployeeID (employee number) field. To insert a field into the table, go to Design View.. Click on the row below where the field is to appear. In this example, click on the field name LastName.. In the TableTools/Design tab>tools group, click on Insert Rows.. Type in the Field Name and Data Type e.g. Field Name: EmployeeID Data Type: Text Field Size: 7 Caption: Employee ID: The data type is set to Text because this data doesn t require any calculation. 4. To delete a field name, select the row and press the Delete Rows button in the Tools group of the Design tab. 5. Go to Datasheet View and enter in a unique EmployeeID for each employee. In Datasheet View, the Insert command is on the Datasheet tab, in the Fields & Columns group. 5 4 Activity. Insert a field of your choice. Choose an appropriate Data Type. Enter the Caption for your new field.. Delete the Phone field. 7

Hillsborough Community College - CITT Faculty Professional Development Set a Primary Key Primary keys uniquely identify each record in a table. An advantage of a primary key is that it does not allow duplication of information. Access does not require a primary key and multiple primary keys can be set. Select a primary key when you need to create relationships between tables in a database. Primary key data cannot be duplicated; therefore, never use a last name, address, or a field where information is likely to be repeated. Ideal primary keys are employee numbers, social security numbers, product numbers, etc. In this example, a primary key is set for the Field Name: EmployeeID. 4 To set a primary key, the table must be in Design View.. Click on the row selector for the field to be set as a primary key. e.g. EmployeeID.. Select the Design tab.. Press the Primary Key button. 4. If the there is more than one primary key, press and hold down the Ctrl key, and click on the row selector for other fields. With the appropriate rows selected, press the Primary Key button. e.g. EmployeeID and ID. Ideal primary keys are employee numbers, social security numbers, product numbers, etc. 8

Microsoft Access 007 - Module I Create a Form: Form Wizard The Form Wizard is simple and easy to use. A form is used to simply display and enter data in a fitted format. Forms in Access are created from tables and/or queries. Forms can also contain subforms (nested tables). Personalize forms in Design View or Layout View by adding a picture, header or footer. Switch between views on the Form Layout Tools/Format tab.. In the Create tab>forms group, select More Forms>Form Wizard.. Select the table or query for report, for example, tblemployeeinfo.. Add Available Fields to Selected Fields and click on Next. In this example, add all available fields by clicking on the double arrow. 4. Choose a layout and click Next. In this example, the Columnar layout is chosen. 4 9

Hillsborough Community College - CITT Faculty Professional Development 5. Select the form style and click on Next, for example, Access 007. 6. Give the form a title, for example, frmemployeeinfo. 7. Choose whether to Open the form to view or enter information or Modify the form's design, for example, Open the form to view or enter information. 8. Click Finish. 9. The employee information form now appears. In this example, a form was created using the table tblemployeeinfo. When information is added or changed through the form, the table tblemployeeinfo is automatically updated. 5 6 9 7 8 0

Microsoft Access 007 - Module I Create a Form: Split Form With some tasks, it may be helpful to view the form and the datasheet simultaneously.. In the All Access Objects pane, select the object that you would like to use for creating the form. For example, select tblemployeeinfo.. Under the Create tab>forms group, select Split Form.. You can now see a form and datasheet based on tblemployeeinfo. Data can be added, edited and deleted from the new split form. Activity Create a new database and form with fields of your choice. Use a variety of data types, such as text, number, yes/no, date/time, currency and lookup.