Introduction to Database Concepts and Access
-
Upload
larissa-reid -
Category
Documents
-
view
50 -
download
0
description
Transcript of Introduction to Database Concepts and Access
![Page 1: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/1.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 1
Introduction to Database Concepts and Access
Using Access 97 - Foundation
![Page 2: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/2.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 2
What is Data?
• Data - facts made up of text, numbers, images and sounds -
Murray 15000 10
• Information is the meaning given to data in the way it is interpreted:
Mr Murray is a sales person whose basic annual salary is $15,000 and whose commission rate is 10%
![Page 3: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/3.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 3
What is a Database?• A structured collection of related data • An address book, a Telephone directory, a Timetable etc.
![Page 4: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/4.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 4
Basic Concepts
• File– A set of related records
• Record– A collection of Data about
an individual item
• Field– A single item of data
common to all records
Name: David MurrayCompany: CCTTel: 01242 227200
Name: David MurrayCompany: CCTTel: 01242 227200
Name: David Murray
![Page 5: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/5.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 5
The Telephone Directory - An Example of a Database
Telephone Directory
Aardvark A.A. Railway Cuttings Cheltenham (01242) 123456
Aardvark S.F. 23 High Street Cirencester (01285) 654321
Aaron A.M. The Paddock Cheltenham (01242) 101010
Records
File Name
Fields
![Page 6: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/6.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 6
Tables and Relationships• Customer makes order• Order consists of order details
make
consist
of
deal
with
have
![Page 7: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/7.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 7
Types of Relationships
• One-to-many• One-to-one• Many-to-many resolved into two one-to-many
One-to-one
Many-to-many
One-to-many
![Page 8: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/8.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 8
Why Use an Electronic Database?
• Speed
• Ease of Use
• Versatility
![Page 9: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/9.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 9
Why Use Access?
• Familiar look and feel of Windows
• Easy to start building simple databases
• Can build sophisticated systems
• True relational database
• Allows prototyping
![Page 10: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/10.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 10
An Introduction to AccessEach column represents a field within the record
Each line represents a record within the table
![Page 11: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/11.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 11
Introducing Access Tools
Employees
Customer
Company Name
Address
City
Telephone
Contact Name
Customers
Reports Forms
Queries
Tables
![Page 12: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/12.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 12
Using Access as Part of Microsoft Office Professional
• Microsoft Office Professional includes:– Access
– Word
– Excel
– PowerPoint
– Outlook
![Page 13: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/13.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 13
Starting Microsoft Access
• Click on “Microsoft Access” in the Start menu
Or if you have set up a shortcut on your Desktop, click on the Access shortcut icon
![Page 14: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/14.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 14
The Access Application Window
![Page 15: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/15.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 15
Review Questions
![Page 16: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/16.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 16
Access - Concepts, Terminology and Usage
Using Access 97 - Foundation
![Page 17: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/17.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 17
Opening a Database
• To open a database once you have already started Access- Choose Open Database from the File menu- OR press CTRL+O- OR click on the Open Database icon on the toolbar
• To open a database when you start Access
– Choose the Open an Existing Database button on the opening dialog, as illustrated
![Page 18: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/18.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 18
The Access Database Window
• Six tabbed cards provide access to all database objects– Select the object by clicking the tab
Click a button to •create a new object•open an existing object•design or modify an object
![Page 19: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/19.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 19
Closing a Database
• To close a database– Choose Close from the File menu
– Or click on the Control menu and select Close
– Or press CTRL+F4
![Page 20: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/20.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 20
Opening a Table• To open a table
- Click on the Table tab in the database window- Select the table you want- Click on the Open button
![Page 21: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/21.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 21
The Table Window
• A table opened from the database window appears as a datasheet
• Each row contains a separate record• Each column contains a separate field
![Page 22: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/22.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 22
Exploring the Table
• To move through records and fields
use TAB, SHIFT+TAB, HOME, END, CTRL+HOME, CTRL+END, PAGE UP, PAGE DOWN, and the arrow keys
• To move through records
First record Previous record Next record Last record
![Page 23: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/23.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 23
Table Design View– To switch to
Design View
– To switch to Datasheet View
![Page 24: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/24.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 24
Introducing Queries
• A means of asking questions of your database• Can look across a number of Tables
![Page 25: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/25.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 25
Introducing Forms
• A friendlier view of the database• Used for data input, menus, display and printing
![Page 26: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/26.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 26
Types of Form
![Page 27: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/27.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 27
Opening an Existing Form
• To open a form
Select
Click Here
![Page 28: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/28.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 28
Form Design View
• A form can be viewed in – Datasheet view
– Design view
– Form View
![Page 29: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/29.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 29
Closing a Form
• To close a form– Click on the Window’s Close icon (top-right)
– Choose Close from the File menu
– Or press CTRL+F4
![Page 30: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/30.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 30
Introducing Reports
– Output of information from your database in the form of a printed report
– Allows you to group and summarize information
– Can be previewed to the screen prior to printing
– Can include logos, graphs and drawings
![Page 31: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/31.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 31
Review Questions
![Page 32: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/32.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 32
Database Design and Table Creation
Using Access 97 - Foundation
![Page 33: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/33.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 33
Design and Document Your Database
• A designers best tools are a pencil and paper – It is important to plan what you are going to do
• The sooner you touch the computer the sooner you’ll make a mistake– If you don’t plan you will often have to start again
– Document what you are doing, will you rememberwhat you did in three months time?
![Page 34: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/34.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 34
Questions To Ask Yourself
• What do I want? – (Outputs)
• What have I got? – (Inputs)
• What do I need to do to get there?– (Process)
![Page 35: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/35.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 35
Define Your Needs
• Draw a picture
• Write a description
PRODUCTS
CATEGORIES
SUPPLIERS
EMPLOYEESC.C. Toys
ORDERS
![Page 36: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/36.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 36
Basic Design Rules
• Unique records• Unique fields• Functionally dependent fields• Independent fields • No calculated or derived fields• Data is broken down into smallest
logical parts
RULES
![Page 37: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/37.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 37
Determine Relationships
• Customer makes many orders: one-to-many• Order contains many products and products can
appear on many orders: many-to-many• Employee belongs to social club: one-to-one• Get rid of many-to-many by introducing another
table, e.g. Order Details
one many many one
![Page 38: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/38.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 38
Creating a Database
![Page 39: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/39.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 39
Using the Table Wizard
![Page 40: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/40.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 40
Adding Fields Using the Table Wizard (1)
BUSINESS
Mailing ListContactsCustomersEmployeesProductsOrdersOrder DetailsSuppliersCategoriesPaymentsInvoicesInvoice DetailsProjects ...
PERSONAL
AddressesGuestsCategoriesHousehold InventoryRecipesPlantsExercise LogDiet LogWine ListRolls of FilePhotographsAuthorsBooks ...
OR
![Page 41: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/41.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 41
Adding Fields Using the Table Wizard (2)
![Page 42: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/42.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 42
Creating a Table Without a Wizard
OR
![Page 43: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/43.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 43
Adding Fields to a New Table
• Type Fieldname
• Choose Data Type
• Type Description
• Enter Field Properties
![Page 44: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/44.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 44
Field Properties
![Page 45: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/45.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 45
The Input Mask Property
• Allows you to specify the format of input
• Useful if input always follows a standard format– ZIP or Post codes
– Telephone Numbers
– National Insurance codes
• UK Post code– >LL09\ 0LL
• UK Telephone Number– \(99999") "000000
![Page 46: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/46.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 46
Setting a Primary Key
• In Table Design View– Select the field you wish to use as the Primary Key
– Click on Primary Key Button
![Page 47: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/47.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 47
Saving a Table
• To save a table– Choose Save from the File menu
– Enter a table name if this is the first time you have saved the table
– Click OK
![Page 48: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/48.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 48
Adding Records to a Table Datasheet
• Click here and start typing
Pressing TAB moves you to the next fieldWhen in the last field of the record pressing TAB moves you to the next record
![Page 49: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/49.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 49
Review Questions
![Page 50: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/50.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 50
Formatting a Table
Using Access 97 - Foundation
![Page 51: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/51.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 51
Editing Records
• Many editing operations involve selection• There are many ways to select fields and records• Record selectors indicate the current status of
the recordCurrent record
Record is selected
Record is being edited
Last (empty) record
![Page 52: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/52.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 52
Selecting Records With The MouseGroup of Records
Click and drag across record selectors
All RecordsClick here
Single RecordClick in the record selector
![Page 53: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/53.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 53
Selecting Records Using The Keyboard
• Single Record– Select the record required
– Select the Edit menu (Alt+E)
– Choose Select Record (L)
• All Records– Select the Edit menu (Alt+E)
– Choose Select All Records (A)or
– Press Ctrl+A
![Page 54: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/54.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 54
Selecting Fields With The Mouse
• Single Field– place the mouse at the beginning of
the field (cross pointer) and click once
• Group of Fields– Select 1st field
– Hold [Shift] + select last fieldor
– Select and Drag
![Page 55: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/55.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 55
Selecting Columns With The Mouse
• To select a Field Column– Click the button above the column
• To select Adjacent Columns– Click the button above the column
and drag across the columns required
![Page 56: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/56.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 56
Selecting Fields and ColumnsUsing the Keyboard
• Single Field– Use the TAB key until the required
field is selected (left to right)
– Use Shift+TAB (right to Left)
• Adjacent Fields– Select the first field (as above)
– Hold the Shift key
– Move in the required direction using the cursor keys
![Page 57: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/57.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 57
Deleting Records and Fields
• Select the item(s)• Press the Delete key
BEWARE!
![Page 58: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/58.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 58
Viewing or Setting Datasheet Default Values
• To set defaults– Select the Tools drop
down menu
– Select the Options command
– Select the Datasheet tab
![Page 59: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/59.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 59
Re-ordering Columns Within a Table• Select Column to be moved
– Click on Column button
• Click and drag to the new location– Note black bar
• Release and the column is moved
![Page 60: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/60.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 60
Re-Ordering Fields in the Table
• In Design View
• Select the Field to be moved– Click on the Field Select button
• Click and drag to a new location– Note black bar
• Release and the Field is moved
![Page 61: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/61.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 61
Changing Column Width and Row Height
• To size a Column– Move the mouse to point
between the columns until this symbol is displayed
– Click and drag to the width required and release
• Or – Click on the column header
and right click– Select Column Width– Enter the column size
or– Choose Best Fit
![Page 62: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/62.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 62
Hiding and Un-hiding Columns
• To hide a Column– Select the column(s) you wish to hide
– Click the right mouse button
– Select Hide Columns
• To show a Column– Select the Format menu
– Choose Unhide Columns
– Select the fields you wish to show
– Select Close to action choices
![Page 63: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/63.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 63
Freezing Columns
• Freezing Columns– Allows you to keep selected columns visible on-screen whilst
you view columns off the screen
• To Freeze Columns– Select Columns
– Click the right mouse buttonorSelect the Format menu
– Click Freeze Columns
• To Unfreeze Columns– Select the Format menu
– Click Unfreeze All Columns
![Page 64: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/64.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 64
Formatting Datasheet Cells
• Cell Effects include:– Horizontal and vertical gridlines
– Gridline and background colors
– Cell effects - Flat, Raised and Sunken
![Page 65: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/65.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 65
Changing Datasheet Fonts
• Select Font from the Format drop down menu
![Page 66: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/66.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 66
Copying and Moving Fields and Records
• To copy or move fields and records– Select the field or record
– Copy or move it to the Clipboard
– Paste from the Clipboard
Cut - move (Ctrl+X)
Copy (Ctrl+C)
Paste (Ctrl+V)
![Page 67: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/67.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 67
Another Look at the Database Window• From the Database Window you can:
– Copy, Rename and Delete objects– When you copy and paste a table you give it a different name
![Page 68: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/68.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 68
Printing
– Choose Print Preview before you print
![Page 69: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/69.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 69
Review Questions
![Page 70: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/70.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 70
Relationships
Using Access 97 - Foundation
![Page 71: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/71.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 71
Defining Relationships
• In order to set relationships you need to carry out three operations
– Open the Relationships Window
– Add the Tables
– Set the Relationships
![Page 72: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/72.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 72
Opening the Relationship Window– Open the Database Window– Click on the Relationships icon on the toolbar
![Page 73: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/73.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 73
Adding Tables to the Relationships Window
• Click on the Show Table icon
• Select the table(s) required in order to build the relationshipclick on Add
![Page 74: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/74.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 74
Making Relationships
– Click on the field in the primary table and drag to the corresponding field in the secondarytable
– The Edit Relationshipswindow appears
– Click on the Create button
![Page 75: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/75.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 75
Referential Integrity
• Referential integrity helps you ensure the relationships between records are valid
It ensures you don’t delete related data
![Page 76: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/76.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 76
Editing Relationships
• You can:– Display all relationships
– Display only direct relationships
– Delete a relationship
– Remove a table from the Relationships window
![Page 77: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/77.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 77
Review Questions
![Page 78: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/78.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 78
Locating and Replacing Information
Using Access 97 - Foundation
![Page 79: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/79.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 79
A Simple Search
• Open the table to search• Click the Find icon• Enter requirements into the dialog box• Select Find First or Find Next
![Page 80: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/80.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 80
Wildcards
• Wildcard symbols are codes used to allow you to make complex searches for information
• The Symbols - any group of characters in this position? - any single character in this position# - any single digit in this position[ ] - square brackets for inclusions[! ] - square bracket and exclamation marks
for exclusions
![Page 81: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/81.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 81
Finding Specific Values
Examples:
• Fr = Fred, Frank, Francis, France, French
• J?ne = June, Jane
• 199# = 1991,1992,1993,1994 . . . . . .1999
• Jo[ha]n = John, Joan
• Min[!t] = Mine, Mind, Mink ...... but not Mint
![Page 82: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/82.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 82
Find and Replace
• Click on the Replace command under the Edit drop down menu
![Page 83: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/83.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 83
Sorting Records
• Quick Sort allows you to quickly sort the table by your selected field
• The sort can be either ascending or descending
![Page 84: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/84.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 84
Sorting Records On More Than One Field
Leftmost columns are sorted first
![Page 85: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/85.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 85
What is a Filter?
• Use a filter to temporarily filter out excess information– Filter out permanent employees
• To narrow your focus – One customer record
• Find records with complex criteria
• Sort records on more than one field and in more than one direction
![Page 86: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/86.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 86
Filtering Records By Selection
• Use Filters to get a subset of records sharing a common attribute
Filter by Selection
![Page 87: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/87.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 87
Filtering Records by Form
![Page 88: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/88.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 88
Review Questions
![Page 89: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/89.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 89
Creating Simple Queries
Using Access 97 - Foundation
![Page 90: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/90.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 90
What are Queries?
• Queries help you select information from tables or queries for a specific purpose
• You can select fields from records
• You can select records from a table or query
• You can select, summarize, update, delete, make new tables and append records to another table
![Page 91: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/91.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 91
Opening an Existing Query
![Page 92: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/92.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 92
Creating Queries Using the Simple Query Wizard
![Page 93: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/93.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 93
Creating Queries Without the Wizard
![Page 94: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/94.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 94
The Query Grid
Record Restrictions Visible
Ordering
RequiredFields
All
Tables or queries
(left to right)
![Page 95: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/95.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 95
Logical Operators in Criteria
• When setting criteria for queries you use logical operators to define what you require– = (Equals/Same)
– < ( Less Than/Lower)
– > (Greater Than/Higher)
– <= (Less than or equal to)
– >= (Greater than or equal to)
– <> (Not equal to)
– And
– Or
– Like
![Page 96: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/96.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 96
Text in Criteria - Wildcards
• Wildcard symbols are codes used to allow you to make complex searches for information
• The Symbols - any group of characters in this position? - any single character in this position# - any single digit in this position[ ] - square brackets for inclusions[! ] - square bracket and exclamation marks
for exclusions
![Page 97: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/97.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 97
Multiple Criteria and Alternative Criteria
![Page 98: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/98.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 98
Calculated Fields
![Page 99: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/99.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 99
Summary QueriesAllows data to be viewed in summary form
- Totals, counts
- Max, min
- First, last etc
Group By one or more fields
![Page 100: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/100.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 100
Update Queries
To specific values Arithmetic operations
Update of all entries in a column or…
Update of all entries matching
the specified criteria
![Page 101: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/101.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 101
Append Queries
Add the results of a query to a table
![Page 102: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/102.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 102
Make-Table Queries
Use the results of a query
to make a new table
![Page 103: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/103.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 103
Review Questions
![Page 104: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/104.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 104
Creating Calculated Fields
Using Access 97 - Foundation
![Page 105: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/105.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 105
Creating Calculated Fields
• It is often more efficient to calculate information (e.g. for a report) when it is needed rather than holding it in a table
• Instead of having a monthly pay field, you could use an expression to calculate it from Salary divided by 12
Monthly Pay: [Employees]![Salary]/12
![Page 106: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/106.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 106
Using the Expression BuilderExpression Box
Elements that can be pasted into an
expression
CommonOperators
ObjectFolders
Elements that can be pasted into an
expression
![Page 107: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/107.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 107
Review Questions
![Page 108: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/108.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 108
Introducing Forms
Using Access 97 - Foundation
![Page 109: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/109.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 109
Introduction to Forms– Forms provide a friendlier view of the database
– Forms can be used to display, view and print data
– Forms can be used to add, update and delete records
– Forms can include pictures, drawings, different fonts and colors
![Page 110: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/110.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 110
Basic Form Layout TypesC
olu
mn
ar
Tab
ula
r
Dat
ash
eet
Just
ifie
d
![Page 111: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/111.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 111
Creating a Form Using AutoForm
![Page 112: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/112.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 112
Creating a Form Using the Form Wizard
![Page 113: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/113.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 113
Different Ways of Viewing Forms
![Page 114: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/114.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 114
Review Questions
![Page 115: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/115.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 115
More About Creating Forms
Using Access 97 - Foundation
![Page 116: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/116.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 116
Creating Forms Without Using the Form Wizard
• You can either start with a clean canvas ready to add controls
• Or you can start with a Wizard created form and modify it
![Page 117: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/117.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 117
The Form Design View Window
![Page 118: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/118.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 118
Manipulating Form Design
• You can modify a form by adding controls• You can move, re-size and delete controls
• Remember the basic Windows rule!– First you select by clicking in the control
– Then you manipulate
![Page 119: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/119.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 119
Types of Control
• Bound controls are bound to fields in tables or queries
• Unbound controls display information not held in the database
• Calculated controls are derived from expressions
• You can add controls using the toolbox
![Page 120: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/120.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 120
The Toolbox
• Using the Toolbox you can add controls – Open the toolbox by clicking on the
toolbox icon
– Position and size the toolbox to your preferences
– Double click on the toolbox title bar to attach it to the other menus at the top of the screen
![Page 121: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/121.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 121
Creating a Combo Box Control Using the Toolbox
• Create a new form• Click on the
Combo Box icon• Follow the on
screen instructions
![Page 122: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/122.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 122
Changing Form Properties
– Use the Property Sheet to view properties
![Page 123: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/123.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 123
Using Forms With Subforms– Use in a one-to-many relationship
– The main form is the “one”
– The subform is the “many”
– You can have more than one subform
– You can have subforms within subforms Form
Subform
![Page 124: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/124.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 124
Creating a Form With a Subform
![Page 125: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/125.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 125
Controlling Data Input
• Data input should be easy and as error free as possible
• Default Value: automatically inserts a value for the field in each new record - it can be overtyped
• Validation Rule: limits acceptable ranges and values
• Validation Text: a message which appears when the rule is broken
![Page 126: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/126.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 126
Changing Tab Order
• Tab order governs the way you move from control to control on a form
– Access automatically assigns a tab order based on the order in which the controls were created
– Use the Tab Order dialog box to make changes
![Page 127: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/127.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 127
Adding Page Breaks
• Use page breaks when your form covers more than one screen
• When the user presses Page Up or Page Down the form moves to the nearest page break
![Page 128: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/128.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 128
Switchboards
![Page 129: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/129.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 129
Review Questions
![Page 130: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/130.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 130
Reports
Using Access 97 - Foundation
![Page 131: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/131.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 131
Introduction to Reports
• The traditional computer output
• Preferred by many people
• Use them for summarizing large amounts of data such as sales reports, stock lists, mailing lists, invoices etc.
![Page 132: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/132.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 132
Opening and Viewing Existing Reports
![Page 133: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/133.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 133
Printing Reports– You can print from the database window, from Design View or
Print Preview
![Page 134: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/134.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 134
Creating Reports Using AutoReport
![Page 135: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/135.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 135
Creating Reports Using the Report Wizard
![Page 136: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/136.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 136
Using the Label Wizard
![Page 137: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/137.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 137
Using the Chart Wizard
![Page 138: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/138.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 138
Grouping Levels in Reports
• You can use Report Wizard to add grouping levels
![Page 139: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/139.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 139
Creating a Report Without a Wizard
When you choose not to use a Wizard you are presented with a blank “Report” onto which you place controls, as when creating a “Form”
![Page 140: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/140.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 140
Creating Controls
• There are three types of controls– Bound controls are bound to fields in tables or
queries
– Unbound controls display information not held in the database
– Calculated controls are derived from expressions
• You can add controls using the Toolbox
![Page 141: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/141.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 141
Setting Properties
![Page 142: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/142.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 142
Review Questions
![Page 143: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/143.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 143
File Management Within Access 97
Using Access 97 - Foundation
![Page 144: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/144.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 144
Access 97 Properties
• From the File menu, choose the Database Properties command– Displays
information about the current database
![Page 145: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/145.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 145
Opening Files - A Review
• Sometimes known as loading a file– Note: A list of the four
most recently opened files is displayed under the File menu
– You can open these files by clicking on them
![Page 146: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/146.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 146
Selecting Files
• To mark sequential files– Click on the first file
– Depress the Shift key
– Click on the last file of the range you wish to select
– Release the Shift key
• To mark non-sequential files– Click on a file
– Depress the Ctrl key (and keep it depressed)
– Click on other files you wish to select
– Release the Ctrl key
![Page 147: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/147.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 147
Finding Files Using Access 97• You may search for a file if you know either:
– The file name
– A word or phrase contained within the file
![Page 148: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/148.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 148
File - “Commands and Settings”
Right clicking on a file displayed a pop-up menu of actions
NOTE: The items displayed in this pop-up menu may change depending on what software you have installed on your PC
![Page 149: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/149.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 149
Copying, Deleting, Renaming Files and Creating Shortcuts
• Display the Open dialog box
• Select a file and right click using the mouse
• Select the required command from the pop-up displayed
![Page 150: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/150.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 150
Setting a Default Folder (Directory)
• By default normally points to My Documents• May be customized as you wish
![Page 151: Introduction to Database Concepts and Access](https://reader035.fdocuments.net/reader035/viewer/2022062300/56812bd8550346895d90480f/html5/thumbnails/151.jpg)
© Cheltenham Computer Training 1995-2002 Using Access 97 Foundation - Slide No. 151
Review Questions