Similar documents
Introduction to Microsoft Access 2010

Introduction to Microsoft Access 2013

Advanced Word for Windows

Microsoft Access 2010 handout

A database is a collection of data organised in a manner that allows access, retrieval, and use of that data.

Using Microsoft Access

MICROSOFT ACCESS A. CREATING A DATABASE B. CREATING TABLES IN A DATABASE

Microsoft Access Introduction

Access I Tables, Queries, Forms, Reports. Lourdes Day, Technology Specialist, FDLRS Sunrise

Microsoft Access 2000

Microsoft Access 2007 Introduction

Microsoft Access 2007 Module 1

Using Microsoft Access Databases

Introduction to Microsoft Access 2007

User Services. Microsoft Access 2003 II. Use the new Microsoft

Creating forms in Microsoft Access 2007

Database File. Table. Field. Datatype. Value. Department of Computer and Mathematical Sciences

Microsoft Office Access 2007 Basics

MICROSOFT ACCESS 2007 BOOK 2

Microsoft Access Basics

Check out our website!

Access 2007 Creating Forms Table of Contents

Introduction to. Microsoft Access Practicals

Creating a Form. A form is something that is created allowing users to enter information in a more visual manner than a datasheet view.

Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick Reference Guide

Utilizing Microsoft Access Forms and Reports

MICROSOFT ACCESS 2003 TUTORIAL

Creating tables in Microsoft Access 2007

Learning Services IT Guide. Access 2013

Creating a Database in Access

Monthly Payroll to Finance Reconciliation Report: Access and Instructions

Creating Calculated Fields in Access Queries and Reports

MS Access Lab 2. Topic: Tables

Access NAMES Computerized Database

MICROSOFT ACCESS STEP BY STEP GUIDE

Introduction to Microsoft Access XP

MICROSOFT OFFICE ACCESS NEW FEATURES

Decision Support AITS University Administration. Web Intelligence Rich Client 4.1 User Guide

In this example, Mrs. Smith is looking to create graphs that represent the ethnic diversity of the 24 students in her 4 th grade class.

INTRODUCTION TO MICROSOFT ACCESS MINIMAL MANUAL

Microsoft Access 2010 Part 1: Introduction to Access

Use Find & Replace Commands under Home tab to search and replace data.

Designing Reports in Access

Personal Portfolios on Blackboard

Using Microsoft Access

Create a New Database in Access 2010

Lesson 07: MS ACCESS - Handout. Introduction to database (30 mins)

Beginning Level Microsoft Access (Database)

How to set up a database in Microsoft Access

Using an Access Database

Module One: Getting Started Opening Outlook Setting Up Outlook for the First Time Understanding the Interface...

IN THIS PROJECT, YOU LEARN HOW TO

Intellect Platform - Tables and Templates Basic Document Management System - A101

Instructions for Creating Silly Survey Database

Creating and Using Databases with Microsoft Access

INTRODUCTION TO MICROSOFT ACCESS Tables, Queries, Forms & Reports

Steps to Create a Database

COURSE DESCRIPTION. Queries in Microsoft Access. This course is designed for users with a to create queries in Microsoft Access.

ECDL. European Computer Driving Licence. Database Software BCS ITQ Level 1. Syllabus Version 1.0

4. The Third Stage In Designing A Database Is When We Analyze Our Tables More Closely And Create A Between Tables

Excel 2003 Tutorial I

Microsoft Access 2010: Basics & Database Fundamentals

PROJECT ON MICROSOFT ACCESS (HOME TAB AND EXTERNAL DATA TAB) SUBMITTED BY: SUBMITTED TO: NAME: ROLL NO: REGN NO: BATCH:

Microsoft Access 2010 Overview of Basics

Instructions for Formatting APA Style Papers in Microsoft Word 2010

Advanced Excel 10/20/2011 1

Workspaces Creating and Opening Pages Creating Ticker Lists Looking up Ticker Symbols Ticker Sync Groups Market Summary Snap Quote Key Statistics

Getting Started with Excel Table of Contents

Simple Invoicing Desktop Database with MS Access c 2015 by David W. Gerbing School of Business Administration Portland State University

New Features in Microsoft Office 2007

Objectives. Microsoft Office 2007 Access 2007 Vista Notes. Opening a database, Tables, Querying a Database, and Reports

Advanced Presentation Features and Animation

Section DB DATABASE - Microsoft Access

Creating and Using Forms in SharePoint

BID2WIN Workshop. Advanced Report Writing

Microsoft. Access HOW TO GET STARTED WITH

Quick Start Guide for Outlook Mac 2011

How To Create A Powerpoint Intelligence Report In A Pivot Table In A Powerpoints.Com

Intellect Platform - The Workflow Engine Basic HelpDesk Troubleticket System - A102

Filter by Selection button. Displays records by degree to which they match the selected record. Click to view advanced filtering options

Introduction to Microsoft Access 2003

Consider the possible problems with storing the following data in a spreadsheet:

Microsoft Access GUI Building

MS Access. Microsoft Access is a relational database management system for windows. Using this package, following tasks can be performed.

Enhanced Formatting and Document Management. Word Unit 3 Module 3. Diocese of St. Petersburg Office of Training Training@dosp.

MS OUTLOOK

EXCEL Using Excel for Data Query & Management. Information Technology. MS Office Excel 2007 Users Guide. IT Training & Development

MICROSOFT OUTLOOK 2011 READ, SEARCH AND PRINT S

Access Tutorial 6: Form Fundamentals

Instructions for Formatting MLA Style Papers in Microsoft Word 2010

Maximizing the Use of Slide Masters to Make Global Changes in PowerPoint

Crystal Reports. Overview. Contents. Columnar Drill-Down Report

Microsoft Outlook 2010

Outlook . User Guide IS TRAINING CENTER. 833 Chestnut St, Suite 600. Philadelphia, PA

Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro

8 CREATING FORM WITH FORM WIZARD AND FORM DESIGNER

Transcription:

Microsoft Access 2000 for Windows Handout: 3 Academic Computing Support Information Technology Services Tennessee Technological University December 2001 1. Creating a new database In this exercise, we will create our database from scratch without using a wizard as we did in the first two classes. To begin with, we will create four tables in our database: employee information, a list of departments, asset information, and maintenance information. We will also add a switchboard table to help navigate the database. In the PC labs, from the Start menu: Select Programs g MSOffice 2000 g Microsoft Access Otherwise, from the Start menu: Select Programs g Microsoft Access Select Blank Access database and click OK. In the PC Labs, browse to your U: drive, elsewhere to your C: drive and name the database Assets.mdb Click Create. 2. Creating tables in Design View Under Objects, select Tables Double-click on Create table in Design view OR click on New in the toolbar and select Design View and OK.

Access 2000 Handout 3 Page 2 2. Creating tables in Design View (cont.) The first table will hold information on employees. We will use Social Security number as the employee ID and this will be the primary key for this table. A primary key uniquely identifies each record in a table and can be used to link tables. Enter the first field name: EmployeeID Select the data type: Text From the menu, select Edit g Primary Key Remember that numeric fields are those on which you could do a computation, such as addition or subtraction. Social Security numbers are text fields that consist of numbers. Enter the rest of the fields shown here. Note that the field Description is optional, but can come in handy later when someone else takes over your database or to remind you of your design decisions. In this table, we will use Text, Currency, Date/Time, and Memo field types. Click on the x to close the table. Save it as Employees and click OK. Adding Input Masks It is helpful for some fields to have predefined input masks to guide data entry. Select the table Employees and click on Design in the toolbar. Click on the Field Name EmployeeID Under Field Properties at the bottom of the screen, click into the box Input Mask Then click on the pop-up menu button with three dots. Click Yes when asked to save the table.

Access 2000 Handout 3 Page 3 Adding Input Masks (cont.) Select Social Security Number from the list of predefined masks. Click in the Try It: box to see how it will appear to those doing data entry.. Accept the defaults and click Next and then Finish. Click on the Field Name Phone and follow the same steps to create an input mask for phone number. Formatting Data Display Click on the Field Name DateHired Under Field Properties at the bottom of the screen, click into the box Format From the pulldown menu, select the display format you prefer. Close and save the table. Creating the Departments table Under Objects, select Tables Double-click on Create table in Design view Create the two fields as shown here and save the table as Departments. Open the table and enter these departments (note that the ID is automatically numbered for you). Biology Computer Science English History Mathematics Physics Sociology Then close the Departments table.

Access 2000 Handout 3 Page 4 Adding a Lookup Field to the Employees Table Select the table Employees Click on Design in the toolbar. Under Data Type for the field Department, select Lookup Wizard Select I want the lookup column to look up the values in a table or query. Select the only table listed: Departments and click Next Select both fields and click Next Check the box Hide Key Column and click Next Accept the suggested name, Department, and click Finish When asked to save the table, click yes. Entering Data into the Employees table: From the menu, select View g Datasheet View Enter the following individuals, noting how the masks and lookup menu work. 123-45-6789 987-65-4321 John Doe Sue Smith Mathematics Biology (931) 372-1234 (931) 372-8888 08/20/91 8/15/96 $40,000 $35,000 Close the Employees table. Creating the Assets Table: Under Objects, select Tables Double-click on Create table in Design view Create the fields as shown here. Be sure to set your Primary Key.

Access 2000 Handout 3 Page 5 Creating the Assets Table (cont.) Use the Lookup Wizard for the field EmployeeID to lookup first and last names of employees to whom each asset is assigned. Save the table Enter the following into the Assets table: Close the table Dell Optiplex Dell Dimension GX400 4300 11223344 ABCDEF $1,500 $1,250 John Doe Sue Smith Creating the Maintenance Table Under Objects, select Tables Double-click on Create table in Design view Create the fields as shown here. Be sure to set your Primary Key. Note that the AssetID field is created using the Lookup Wizard and it consists of three fields AssetID, Serial Number, and Description as shown below. Enter this data into the table: 11223344 11/15/01 Possible Virus Disinfected Complete $55 ABCDEF 11/30/01 Printer Problem Installed Drivers Complete $35

Access 2000 Handout 3 Page 6 Enter this data into the table: 11223344 ABCDEF 12/3/01 11/8/01 Lost internet connection Email problem Replace Ethernet card Reinstalled software Not Complete Complete $75 $45 3. Adding a Switchboard From the menu, select Tools g Database Utilities g Switchboard Manager When asked Would you like to create one? Click Yes Edit the main Switchboard as discussed in handout 2 to create two new items: Modify Switchboard and Exit to get the Switchboard started. Click on the Forms button and note that a generic Switchboard Form has been created. To have your database open to the Switchboard: From the menu, select Tools g Startup Under Display Form/Page, select Switchboard and click OK. Close the database and reopen it to see the effect of this change.

Access 2000 Handout 3 Page 7 4. Understanding Relationships We have created several relationships among our tables by using the Lookup Wizard to define some of our fields. To see these relationships in graphical form, from the menu select Tools g Relationships. If needed, drag and move the boxes to get a clear view. It should look something like this. Close the relationships window. 5. Creating a Query to be used as the basis for a Report Under Objects, select Queries Double-click on Create Query in Design View From the list of tables, select Assets, click Add Select Maintenance, click Add Click Close Add the fields to the query as shown below. Close the query and try to name it Maintenance. Notice that you cannot name a query and a table exactly the same. Now name the query: Maintenance Query

Access 2000 Handout 3 Page 8 6. Creating a Report based on a Query Under Objects, select Reports Click on New in the toolbar. Select Report Wizard From the pulldown list, select Maintenance Query. Click OK Select all fields Accept the suggested data view: by Assets

Access 2000 Handout 3 Page 9 6. Creating a Report based on a Query (cont.) Do not add any additional grouping levels. Sort the records by Maintenance Date in ascending order by selecting it in the pulldown menu. Note the Summary button which allows you to add totals (we will do this another way later). Accept the default suggestions for the layout of the report. Select a style, such as Corporate Title the report: Maintenance Click Finish The report should look something like this:

Access 2000 Handout 3 Page 10 7. Editing a Report Created by a Query From the menu, select View g Design View Notice that the report consists of several sections: Report Header: Information that will appear one time at the top of the report Page Header: Information that will appear at the top of each page Description Header: Information that will appear as each description changes (In this case, the Asset Description which we selected in the wizard as the data view). Detail: Each line of detailed information in the report. Page Footer: Information that will appear at the bottom of each page Report Footer: Information that will appear one time at the bottom of the report To modify the label for the Maintenance Date so that we can see it: Click on that label in the Page Header section to select it and drag the box down to increase its size to two lines. In the toolbar, select a centered alignment. Note: you will know an object is selected when it has 8 squares connected by lines around it. Mouse over the line under the heading labels until a hand appears and click and drag the line down below the heading labels. Note: to move an entire box, select the box and move to an edge until a hand appears, click and hold and you can now move the box. Under Detail, drag the Maintenance Date field box to the left to create a size large enough to hold all the information. To view the results of your changes: From the menu, select View g Layout Preview To better line up the headings: From the menu, select View g Design View Under Page Header click on each label while holding the shift key down to select all. From the menu, select Format g Size g To Fit From the menu, select Format g Align g Bottom From the menu, select View g Layout Preview to see your changes. Close the window and save the changes.

Access 2000 Handout 3 Page 11 8. Adding Totals to a Report Under Objects, select Reports Double-click on the Maintenance Report to view it. From the menu, select View g Design View Be sure that the toolbox is in view: From the menu, select View g Toolbox If the box is checked, the toolbox is open in Design view. Mouse over the buttons to see a label describing what each does. Be sure that the Properties box is in view: From the menu, select View g Properties Click on the label in the Report Header which says Maintenance. Click on the tab All in the Properties box and note the various properties of this label. Move the mouse to the bottom of the Report Footer (grey bar) until it becomes a double arrow and then click and drag down to create some space in the footer. Click on the Text box in the Toolbox and draw a box roughly under Cost in the Report Footer Note that two boxes are created: a label box which says Text and a text box marked Unbound. Double-click in the label box and type Grand Total Double-click in the Text box and type =sum([cost]) From the menu, select View g Layout Preview to see the result. From the menu, select View g Design View Click on cost under Details and hold the shift key down and click on the new Sum box. From the menu select Format g Align g Right Click on the Sum box, then click in the Format box under Properties and select Currency. View your results again.

Access 2000 Handout 3 Page 12 9. Adding a Picture and Line to the Report From the menu, select View g Design View From the menu, select Insert g Picture Browse to the location of the graphic: Classfiles on Athena g ITS g Access g Images g TTUlogoNewPurple.gif Drag it to the right side in the Report Header section. Left click on the Line under the Page Header labels, then right-click and select Copy Right-click in the Report Footer section and select Paste. Click on the line (it is near the top of the section and sometimes hard to see) and drag it down to just above the Grand Total Left-click on both lines while holding the shift key down then right-click and from the popup menu select Align g Left From the menu, select View g Layout Preview to see the result which should be similar to below: Close and save changes.

Access 2000 Handout 3 Page 13 10. Adding a Form for Data Entry Under Objects, select Forms Double-click on Create form by using Wizard Select the table Employees and add all fields by using the double arrowhead. Select the Columnar layout and click Next Select a style for the form, such as Standard Accept the title Employees Click Finish Note how Department is a pulldown menu based on entries in the Department table. Add a button to Close the Form From the menu, select View g Design View Drag down at the bottom of the Form Footer to create some space (look for the double arrow to appear and then click and drag). From the toolbox, click on the add Command Button. Draw in a button in the Form Footer In the Wizard, select Form Operations under Categories Select and Close Form under Actions and click Next. Select either text or one of two pictures and click Next Type a name such as Exit Button and click Finish

Access 2000 Handout 3 Page 14 10. Adding a Form for Data Entry (cont.) From the menu, select View g Form View Try the button out and save changes. 11. Add the Form and Report to the Switchboard From the menu, select Window g Main Switchboard Click on Modify Switchboard Create new switchboard pages for Forms and for Reports Edit these pages to add links to the specific form and reports (See Handout 2) Edit the Main Switchboard page to add links to these new pages. Check out your results. Select File g Exit or use the close box in the upper right corner. 12. Getting Help One of the easiest ways to get help with Microsoft Access is the comprehensive online help included with it. From the menu, select Help g Microsoft Access Help Click on the Index tab For instance, to see samples of expressions type in the search box: Examples of expressions g Should you have a question that the online help does not address. There are several books available at your local bookstore that will aid you, such as: Microsoft Access 2000 for Windows for Dummies and various Microsoft reference books.