GCSE Database Projects in Access



Similar documents
Microsoft Access 2000

Microsoft Access 2007 Module 1

Using Microsoft Access Databases

NATIONAL INSTITUTE OF HOTEL MANAGEMENT, KOLKATA

INTRODUCTION TO MICROSOFT ACCESS MINIMAL MANUAL

How to set up a database in Microsoft Access


If the database that is required is similar to a template then whole database can be generated by using a template that already exists.

Microsoft Access Basics

Using Microsoft Access

MICROSOFT ACCESS 2007 BOOK 2

Introduction to Microsoft Access 2010

MS Access Lab 2. Topic: Tables

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

Using Microsoft Access

INTRODUCTION TO MICROSOFT ACCESS Tables, Queries, Forms & Reports

Microsoft Access 2007 Introduction

Microsoft Access 2003 Module 1

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

Creating a Database in Access

MICROSOFT ACCESS STEP BY STEP GUIDE

Microsoft Access Introduction

Introduction to. Microsoft Access Practicals

Using Microsoft Access

Databases and Microsoft Access II

Creating an Access Database. To start an Access Database, you should first go into Access and then select file, new.

for Sage 100 ERP Business Insights Overview Document

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

Introduction to Microsoft Access 2013

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

Instructions for Creating Silly Survey Database

Microsoft Access 2010

Access Database 2003 Basics

Microsoft Access 2010 Overview of Basics

Getting Started With Microsoft Access

Check out our website!

Microsoft Office 2010

Computer Science 125. Microsoft Access Project

Microsoft Access 2010 Part 1: Introduction to Access

Steps to Create a Database

Chapter 5. Microsoft Access

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

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

Microsoft. Access HOW TO GET STARTED WITH

Microsoft Access XP Session 1 Week 8

Lab Manual. Databases. Microsoft Access. Peeking into Computer Science Access Lab manual

Databases: Creating a user interface using Access

Course Title: Microsoft Access Basic Duration: 12 hours

Asset Track Getting Started Guide. An Introduction to Asset Track

Creating a Calendar in CorelDRAW

Databases with Microsoft Access. Using Access to create Databases Jan-Feb 2003

MS Access: Advanced Tables and Queries. Lesson Notes Author: Pamela Schmidt

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

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

Access 2010 Intermediate Skills

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

Using the Drag-and-Drop Report Builder

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

Microsoft Access 2010 handout

Access Queries (Office 2003)

Creating and Using Databases with Microsoft Access

Creating a New MS-Access Database

Designing Reports in Access

Microsoft Access GUI Building

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

MICROSOFT OFFICE ACCESS NEW FEATURES

Data Warehousing With Microsoft Access

- Suresh Khanal. Microsoft Excel Short Questions and Answers 1

Access 2007 Creating Forms Table of Contents

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

The software shall provide the necessary tools to allow a user to create a Dashboard based on the queries created.

Creating forms in Microsoft Access 2007

HOW TO GUIDE Setting up an Event with TryBooking

PDF Web Form. Projects 1

IN THIS PROJECT, YOU LEARN HOW TO

Access Tutorial 8: Combo Box Controls

Business Objects Version 5 : Introduction

MICROSOFT OFFICE ACCESS LEVEL 1

Working with Access Tables A Continuation

Quick Start Guide: How to create your own online shop

Creating a Database using Access 2007

Introduction to Microsoft Office Access 2010

Access Part 2 - Design

Introduction to Access 2013

Learning Services IT Guide. Access 2013

Tutorial 3. Maintaining and Querying a Database

Microsoft Office 2010

To launch the Microsoft Excel program, locate the Microsoft Excel icon, and double click.

Microsoft PowerPoint 2010 Computer Jeopardy Tutorial

Microsoft Access Rollup Procedure for Microsoft Office Click on Blank Database and name it something appropriate.

PA Payroll Exercise for Intermediate Excel

Excel 2003 Tutorial I

Ken Goldberg Database Lab Notes. There are three types of relationships: One-to-One (1:1) One-to-Many (1:N) Many-to-Many (M:N).

Utilizing Microsoft Access Forms and Reports

Sales Person Commission

What is a database? The parts of an Access database

Transcription:

GCSE Database Projects in Access Creating the Tables This tutorial shows you how to create a database for a person who sells second-hand albums. You are going to have one main table and several lookup tables, which might look something like this: Recordings Table Field Name Data Type Size Required? RecordingID (K) Autonumber Yes Album Title Text 30 Yes Artist Number Genre Number Year of Release Number No Highest Chart Number No Position Number of Tracks Number No Album Cover OLE Object No Is it in perfect Yes/No No condition Price Currency Yes Format Number Formats Table Field Name Data Type Size Required? Format ID (K) Autonumber Format Text 10 Yes Genres Table Field Name Data Type Size Required? Genre ID (K) Autonumber Genre Text 10 Yes Artists Table Field Name Data Type Size Required? Artist ID (K) Autonumber Artist Name Text 10 Yes Artist Picture OLE Object No Artist Biography Memo No 1

Creating the Relationships You need to go to Tools and then choose Relationships. Add the tables. Create links between the fields, as follows: Creating the Forms 1. Run the Form Wizard. 2. Select all the fields from the Artists Table. 3. Choose a Columnar View. 4. Choose a Standard style. 5. Give the form a name e.g. Artists. You should get something that looks like this: 6. Now repeat this process for to create forms for Genres, Formats and Recordings. 2

Creating Combo Boxes Edit the Recordings Form by opening the form and clicking the Design View button: First, you should delete the Format, Genre and Artist fields. These fields are going to be replaced with combo boxes. Select the Combo Box Wizard from the floating Toolbox and drag out a rectangle on the form where you want the combo box to be placed. The Combo Box Wizard should appear immediately: 1. Choose I want the combo box to look up the values in a table or query. 2. Choose the Artist table. 3. Choose the Artist Name field. 4. Store the value in the Artist field. 5. Give the combo box a label e.g. Artist Name. 6. Repeat this process to create a combo box for Format and Gender. 3

Editing the Form Your form should now look something like this: This needs tidying up. The black labels and the white data entry boxes can be dragged around until the form is neat and tidy, like this: The next thing to do is to expand the Form Header and give a title to the form, like this: 4

Editing the Form (continued) You can now change the colours and the fonts of the labels and the data entry boxes. You can add a background colour or a background picture to the form. You can resize the boxes and labels, where appropriate. Finally create some Command Buttons that open the other forms: 1. Add a Command Button from the floating Toolbox. The Command Button Wizard should immediately appear. 2. Select Form Operations and Open Form. 3. Choose the Artists form. 4. Choose Open the form and see all the records. 5. Select Text and choose Add an Artist as the caption. 6. Give the button a name and Finish. 7. Repeat this process to create similar buttons to open the Genres Form and the Formats Form. 8. You can now re-size or move the buttons. You can also change the style/colour of the button and the style and colour of the text. 9. Go to Form View to test your form. Try adding some data. 5

Queries Once you have typed some data into your database, you will be able to run queries. To run a query, create it in Design View. Be sure to use the text fields from the lookup tables to search for Genre, Artist or Format. 1. Create your first simple query as follows: The query above would find all albums by Bob Dylan or The Beatles. The Artist Name field has been selected from the Artists Table and the Criteria have been entered. Close the query down and save it. Use a sensible name like Albums by Bob Dylan or The Beatles. Run the query. 2. Create a query that uses more than one field, like this: This query finds all albums by Bob Dylan that were released in 1995. 3. Create some queries using Number or Currency fields. For example: This query would find all albums with a price of more than 5 4. Get a query to do a calculation. Click the Sigma Button and select a calculation like MIN, MAX, SUM or AVG to apply to a Currency or Number field: This query would report the total value of all the albums in the shop. 6

Data Validation Go back to the Recordings Table and open it in Design View. Select the Highest Chart Position field and enter the following Validation Rule and Validation Text: Close and save the table. Now open the Recordings Form and enter a number between 1 and 100. This should be accepted. Now enter a number that is not between 1 and 100. A message box containing your validation text should appear: You can enter some other validation rules. For example, The validation rule <NOW() on any date field will ensure that all dates have to be before the present day. The validation rule >5 on a Number or Currency field will ensure that the number entered must be more than five. >=5 means it must be greater than or equal to five. The validation rule M or F on a Gender field would ensure that the gender entered was either M or F. 7

Reports A report is intended to be a printout of data in the database. A report can be created based on any query or table. 1. Use the Report Wizard to create a report showing all the artists in the database. 2. Group the data by Artist Name. 3. Choose how the data should be sorted (e.g. by ID number). 4. Once the report is created, go to Design View and change the appearance of the Report Header. You can change the font style or colour. You can add a picture or logo. 8

Customise the Database 1. Close the database down without closing Microsoft Access. 2. Click on File and then Open. 3. Open your Database in Exclusive Mode: 4. Go to the Tools menu and set a password for the database: 5. Close the database and re-open it to test the password. N.B. Please make your password 999 or 123 because nothing can be done to help you if you forget your database password! 6. Choose Startup Options from the Tools menu and make the following changes: Close down the database and open it again to test the changes. You should see the Recordings Form open automatically and there are no options to edit the structure of the database. If you want the full menus to be available, hold down the SHIFT button on the keyboard when opening the database. 9