marcel vanlandeghem ext 2488 [email protected]

12
Marcel VanLandeghem Ext 2488 [email protected]

Upload: jessica-greene

Post on 25-Dec-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Marcel VanLandeghem Ext 2488 marcel.vanlandeghem@saultcollege.ca

Marcel VanLandeghemExt 2488

[email protected]

Page 2: Marcel VanLandeghem Ext 2488 marcel.vanlandeghem@saultcollege.ca

One Day Seminar Objectives

Environments Where a Database is usedIs It a Substitute For Excel?•What is a Database?•What are Tables?•What is a record made up of?•What are Fields?•What are Field Types?•What is a Key Field? •What are Queries?•Why do we use Forms? •What is a Report?

Page 3: Marcel VanLandeghem Ext 2488 marcel.vanlandeghem@saultcollege.ca

- Understand Table Structures- Create Tables – Understand What Not To Do- Create and use Queries- Using Calculation And Parameter Queries- Using Queries that Summarize- Using Compound Queries- Working with Forms - Using Command Buttons on Forms- Linking Tables - Understand Referential Integrity- Using Queries with Multiple Tables- Using Subforms with multiple tables- An easy way to create professional reports

Page 4: Marcel VanLandeghem Ext 2488 marcel.vanlandeghem@saultcollege.ca

A Database is just an organized collection of data which is storedin TABLES.

Each Table can hold RECORDS

Each record will hold pieces of information called fields.

Example..a record for you might contain fields for..Last Name, First Name ,Age, Birthdate, Street Address, City, Province

MEMBERS

Table Name PEOPLE

Page 5: Marcel VanLandeghem Ext 2488 marcel.vanlandeghem@saultcollege.ca

A “KEY FIELD” is a piece of information in each persons record

That makes that record unique

Example Your Account Number, Student Number, Driver’s Licence

Page 6: Marcel VanLandeghem Ext 2488 marcel.vanlandeghem@saultcollege.ca

Account Last Name First Name Age Province

100 Brown James 20 Ont200 Smith Al 45 BC300 Black Alice 29 Ont400 Smith Al 50 Ont500 Smith Jane 35 BC600 White Bill 45 BC

This piece of information makes every record unique. It is called the “KEY” field

By usng the Account number we can easily find people.

A Basic Example

Page 7: Marcel VanLandeghem Ext 2488 marcel.vanlandeghem@saultcollege.ca
Page 8: Marcel VanLandeghem Ext 2488 marcel.vanlandeghem@saultcollege.ca

A Simple DatabaseDatabase name = people

Table is called Friends which holds many records

Lastname

Firstname

Phone Number

Email

Street

City

Prov

Postal code

FieldsPieces of informationThat make up a personsRecord.

Record

Page 9: Marcel VanLandeghem Ext 2488 marcel.vanlandeghem@saultcollege.ca

What Do You Have in Your Wallet?

That Represent You In a Database

Page 10: Marcel VanLandeghem Ext 2488 marcel.vanlandeghem@saultcollege.ca

Database Name = Video Store

Customer Table Videos Rented Table VCR’s RENTED Table

Custno

LastName

FirstName

Street

City

Pc

Provice

Phone

Birth Date

Custno

Video Name

Date Rented

Return Date

Custno

VCR Serial #

Date Rented

Return Date

Deposit Amount

Key Field

Each Piece of Information in a Table called a FIELDAll the fields make up 1 record

You can have different Field Types - Text Field Number Fields Date Fields

Page 11: Marcel VanLandeghem Ext 2488 marcel.vanlandeghem@saultcollege.ca

Table (holds all our records

Input Data

QueriesDisplays Information From the table

ReportsGenerate Printed Reports

Basic Process

FormsUsed to Enter data orRetrieve information

“This is where we are heading”

Page 12: Marcel VanLandeghem Ext 2488 marcel.vanlandeghem@saultcollege.ca

Instructor will guide the class to do the following

Start Access

Create a database

Create a table and setup fields

Enter Data

Perform Simple Queries

Use the Report Wizard