intro to access 2007

20
Intro to Access 2007 MIS 2502 | Summer1 2010

Upload: roman

Post on 23-Feb-2016

52 views

Category:

Documents


0 download

DESCRIPTION

Intro to Access 2007. MIS 2502 | Summer1 2010. Navigation. The Ribbon Standard to all Office 2007 applications Organized by feature and functionality Navigation Pane Access to all objects in the current database. Tables. Grids that store information in a database - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Intro to Access 2007

Intro to Access 2007MIS 2502 | Summer1 2010

Page 2: Intro to Access 2007

Navigation The Ribbon

› Standard to all Office 2007 applications› Organized by feature and functionality

Navigation Pane› Access to all objects in the current database

Intro to Microsoft Access 2007 | MIS 2502

Page 3: Intro to Access 2007

Tables Grids that store information in a

database› Much like an Excel spreadsheet› Must have at least ONE primary key

Differentiates each record Example: TUID

Primary Key Button

Intro to Microsoft Access 2007 | MIS 2502

Page 4: Intro to Access 2007

Creating Tables

Intro to Microsoft Access 2007 | MIS 2502

1 2

3

CreateTable

Switch to Design View

Save

Page 5: Intro to Access 2007

Creating Tables Design View

› Field Name: name of a table’s fields First Name, Address, Telephone…

› Data Type: type of value allowed in the field Text, Number, Date/Time…

› Field Properties: attributes of each field Set from the bottom pane Field size, format, default value…

Intro to Microsoft Access 2007 | MIS 2502

Page 6: Intro to Access 2007

Creating Tables

Field Properties

Data TypeField Name

Intro to Microsoft Access 2007 | MIS 2502

Page 7: Intro to Access 2007

Field Properties: Examples Input Mask

› For TU-ID: ###-##-####

Validation Rule› For student standing:

“Freshman” Or “Sophomore” Or “Junior” Or “Senior”

Intro to Microsoft Access 2007 | MIS 2502

The slashes will be added automatically!

Page 8: Intro to Access 2007

Adding Records Select Datasheet View

Enter your records into the table

Insert New Record(same as TAB)

Intro to Microsoft Access 2007 | MIS 2502

Page 9: Intro to Access 2007

Relationships Primary keys should match foreign

keys in corresponding tables› MUST be same data type (i.e. Text, Number…)› Every relationship includes ONE primary

key and ONE foreign key

Foreign Keys

REFERENCE Primary

Keys

Intro to Microsoft Access 2007 | MIS 2502

Page 10: Intro to Access 2007

RelationshipsThis is your

ERD!

Intro to Microsoft Access 2007 | MIS 2502

Page 11: Intro to Access 2007

…but I don’t see relationships

You can manually create the relationships› Click on foreign key› Drag to its corresponding primary key

Intro to Microsoft Access 2007 | MIS 2502

Make sure these 3 boxes are checked!

PK

FK

Page 12: Intro to Access 2007

Capturing your ERD Viewing your ERD (Entity Relationship

Diagram) in Access…› Make sure all of your tables are fully

expanded No scroll bars should be visible!

Intro to Microsoft Access 2007 | MIS 2502

Page 13: Intro to Access 2007

Capturing your ERD1. Open your ERD2. Press PRINT SCREEN3. Paste screen into MS Word (CTRL+V)4. Crop unnecessary portions5. Page Layout to LANDSCAPE6. Resize using handlers

Intro to Microsoft Access 2007 | MIS 2502

Page 14: Intro to Access 2007

Queries Queries select records from one or

more tables in a database so they can be viewed, analyzed, and sorted on a common datasheet.› Stored as separate database objects for

future use› Options found on the CREATE tab

You can run queries on queries!

Intro to Microsoft Access 2007 | MIS 2502

Page 15: Intro to Access 2007

Types of Queries Select: most common; retrieves data Parameter: prompts user for criteria Crosstab: calculates totals Action: makes changes to records

› Delete› Update› Append› Make-Table

Intro to Microsoft Access 2007 | MIS 2502

Page 16: Intro to Access 2007

Forms Alternate way for users to enter data

into a database table› User friendly

Same effect as entering through

datasheet

Intro to Microsoft Access 2007 | MIS 2502

Page 17: Intro to Access 2007

Creating Forms Form Wizard

› Build through dialog boxes

Form Design› Start from scratch

Intro to Microsoft Access 2007 | MIS 2502

Page 18: Intro to Access 2007

Reports Organize and group

information found in a table or query› Printable

Types› Parameterized: uses input values› Ad hoc: fully customized› Canned: runs on command; no customization

Intro to Microsoft Access 2007 | MIS 2502

Page 19: Intro to Access 2007

Creating Reports Report Wizard

› Build through dialog boxes

Report Design› Start from scratch

Intro to Microsoft Access 2007 | MIS 2502

Page 20: Intro to Access 2007

Switchboards Command menu & user interface Used for navigation and initialization of

database tasks› Includes buttons and images that open

forms, reports, and queries

Intro to Microsoft Access 2007 | MIS 2502