MS Access 2007 L3 122408

download MS Access 2007 L3 122408

of 50

Transcript of MS Access 2007 L3 122408

  • 8/8/2019 MS Access 2007 L3 122408

    1/50

    Microsoft OfficeMicrosoft Office

    Access 2007Access 2007Level 3Level 3

    Advanced FeaturesAdvanced Features

    Developed by

    Andrew Marsiglia, CCPApril 2008

  • 8/8/2019 MS Access 2007 L3 122408

    2/50

    General InformationGeneral Information

    This is a classroom guide for Microsoft Office Access 2007 LevelThis is a classroom guide for Microsoft Office Access 2007 Level

    2 and is intended to be used in conjunction with the Microsoft2 and is intended to be used in conjunction with the Microsoft

    , ,, ,

    produced by Element K Press, LLC, Rochester, NY.produced by Element K Press, LLC, Rochester, NY.

    This classroom uide was develo ed in A ril 2008b AndrewThis classroom uide was develo ed in A ril 2008b Andrew

    Marsiglia. It incorporates original material as well as limitedMarsiglia. It incorporates original material as well as limitedcontent from the Element K student manual.content from the Element K student manual.

    e num er n e amon sym oe num er n e amon sym o a e op r ga e op r g --hand corner of a page refers to the corresponding page in thehand corner of a page refers to the corresponding page in theElement K student manual.Element K student manual.

    2Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    3/50

    Course OutlineCourse Outline

    Structuring Existing DataStructuring Existing Data

    Simplifying Tasks with MacrosSimplifying Tasks with Macros

    Making Effective Use of FormsMaking Effective Use of Forms

    Making Reports More EffectiveMaking Reports More Effective

    Maintaining an Access DatabaseMaintaining an Access Database

  • 8/8/2019 MS Access 2007 L3 122408

    4/50

    Lesson 1

    Lesson 1

    DataData

  • 8/8/2019 MS Access 2007 L3 122408

    5/50

    Structuring Existing DataStructuring Existing Data

    Create a Junction TableCreate a Junction Table

    Improve Table StructureImprove Table Structure

    5Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    6/50

    First Normal FormFirst Normal Form

    Before 1NF

    After 1NF

    Contains onl

    employee-related data

    ac ce assingle value

    6Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    7/50

    Second Normal FormSecond Normal Form

    Before 2NF

    After 2NF

    Fully dependent onprimary key fields

    Fields notfully dependenton primary keyare moved out

    7Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    8/50

    Functional DependencyFunctional Dependency

    8Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    9/50

    Third Normal FormThird Normal Form

    Before 3NFNon-key field dependenton other non-key field,

    After 3NF

    Fields dependent onnon-key fieldsare moved out

    9Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    10/50

    Transitive DependencyTransitive Dependency

    10Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    11/50

    ManyMany--toto--Many RelationshipsMany Relationships

    Many-to-Many Relationship

    Multiple records in one tablecorrespond to multiple records

    in the other table

    11Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    12/50

    Junction TablesJunction Tables

    Junction table created withore gn eys o ta es

    with many-to-many relationship

    12Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    13/50

    Reflective QuestionsReflective Questions

    1. How would you use the Table Analyzer Wizard in your job?

    2. How would you use normalization to improve the design of yourdatabase?

    13Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    14/50

    Lesson 2

    Lesson 2

    Queries

    Queries

  • 8/8/2019 MS Access 2007 L3 122408

    15/50

    Writing Advanced QueriesWriting Advanced Queries

    Create Unmatched and Duplicate QueriesCreate Unmatched and Duplicate Queries

    Group and Summarize Records Using CriteriaGroup and Summarize Records Using Criteria

    Summarize Data Using a Crosstab QuerySummarize Data Using a Crosstab Query

    Create a PivotTable and PivotChartCreate a PivotTable and PivotChart

    15Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    16/50

    SubqueriesSubqueries

    SELECT OrderNum, QuantityOuter Query

    FROM tblOrderDetailsWHERE ProductID

    Subquery/Inner QueryFROM tblProductsWHERE CategoryID ="TT");

  • 8/8/2019 MS Access 2007 L3 122408

    17/50

    Crosstab QueryCrosstab Query

    Select Query

    Quantity is displayed vertically

    uan y s sp ayein a spreadsheet-like

    format at the intersectionof product and customer name

    Crosstab Query

  • 8/8/2019 MS Access 2007 L3 122408

    18/50

    PivotTablePivotTable

    Drop Filter Fields Here

    Fields Here

    Detail Fields Here

    Drop RowFields Here

  • 8/8/2019 MS Access 2007 L3 122408

    19/50

    PivotChartPivotChart

    Dro Filter Fields Here Dro Series Fields Here

    Drop Category Fields Here

  • 8/8/2019 MS Access 2007 L3 122408

    20/50

    Reflective QuestionsReflective Questions

    1. What are the ways in which you can use unmatched and duplicatequer es

    2. Will Pivot Charts and PivotTables be useful on the job? Why?

    20Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    21/50

    Lesson 3

    Lesson 3

    with Macros

    with Macros

  • 8/8/2019 MS Access 2007 L3 122408

    22/50

    Simplifying Tasks with MacrosSimplifying Tasks with Macros

    Attach a MacroAttach a Macro

    Restrict Records Using a ConditionRestrict Records Using a Condition

    Validate Data Using a MacroValidate Data Using a Macro

    Automate Data Entry Using a MacroAutomate Data Entry Using a Macro

  • 8/8/2019 MS Access 2007 L3 122408

    23/50

    MacrosMacros

    Macro that

    Set of tasks tobe performed bythe macro

    per ormsa set of

    defined tasks

  • 8/8/2019 MS Access 2007 L3 122408

    24/50

    The Macro Builder WindowThe Macro Builder Window

  • 8/8/2019 MS Access 2007 L3 122408

    25/50

    Macro ActionMacro Action

    Macro actions resemble

    menu commands

    Macro actionsare selected

    manually fromthe drop-down list

  • 8/8/2019 MS Access 2007 L3 122408

    26/50

    Action ArgumentsAction Arguments

  • 8/8/2019 MS Access 2007 L3 122408

    27/50

    Object EventsObject Events

    Clicking the Contact button

  • 8/8/2019 MS Access 2007 L3 122408

    28/50

    Macro ConditionsMacro Conditions

    the macro will perform

    the defined set of tasks

    Macro actions that willbe performed whenthe condition is True

  • 8/8/2019 MS Access 2007 L3 122408

    29/50

    Plan a MacroPlan a Macro

  • 8/8/2019 MS Access 2007 L3 122408

    30/50

    Embedded MacrosEmbedded Macros

    Embedded macroscan only be accessed

    event property

    Embedded macros

    Navigation pane

  • 8/8/2019 MS Access 2007 L3 122408

    31/50

    Reflective QuestionsReflective Questions

    1. How might restricting records using a Where condition help youon e o

    2. How might validating data entry help when creating forms inthe future?

    31Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    32/50

    Lesson 4

    Lesson 4

    of Forms

    of Forms

  • 8/8/2019 MS Access 2007 L3 122408

    33/50

    Making Effective Use of FormsMaking Effective Use of Forms

    Display a Calendar on a FormDisplay a Calendar on a Form

    rgan ze n orma on w a agesrgan ze n orma on w a ages

    Display a Summary of Data in a FormDisplay a Summary of Data in a Form

    33Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    34/50

    Tab ControlTab Control

    Tab pageson a form

  • 8/8/2019 MS Access 2007 L3 122408

    35/50

    Reflective QuestionsReflective Questions

    1. Are there places in any of your existing databases where tab pagesm g e use u xp a n an g ve examp es.

    2. How can displaying a summary of data in your forms help end usersof your database?

    35Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    36/50

    Activity 4Activity 4--22 71

    Activity:Activity:

    Enhancing the Appearance a FormEnhancing the Appearance a Form

    36Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    37/50

    Lesson 5Lesson 5

    Effective

    Effective

  • 8/8/2019 MS Access 2007 L3 122408

    38/50

    Making Reports More EffectiveMaking Reports More Effective

    Include a Chart in a ReportInclude a Chart in a Report

    Print Data in ColumnsPrint Data in Columns

    Cancel Printing of a Blank ReportCancel Printing of a Blank Report

    Create a Report SnapshotCreate a Report Snapshot

    38Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    39/50

    ChartChart

    Graphicalrepresentationof information

    Relationship betweenset of numbers

    and set of categories

    Legend

    Set Of Axes

    39Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    40/50

    Report SnapshotReport Snapshot

    File with exact copy of Access report

    Layout of the reportpreserved in the snapshot

    40Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    41/50

    Snapshot ViewerSnapshot Viewer

    Used to distribute SNP file

    Program to viewand print a report

    snapshot

    41Microsoft Access 2007

    R fl ti Q tiR fl ti Q ti

  • 8/8/2019 MS Access 2007 L3 122408

    42/50

    Reflective QuestionsReflective Questions

    1. How will you improve your existing reports?

    2. Can you think of any existing database that could benefit from theuse of columns? Explain.

    42Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    43/50

    Lesson 6Lesson 6

    Access Database

    Access Database

    M i t i i A D t bM i t i i A D t b

  • 8/8/2019 MS Access 2007 L3 122408

    44/50

    Maintaining an Access DatabaseMaintaining an Access Database

    Manage a DatabaseManage a Database

    Determine Object DependencyDetermine Object Dependency

    Document a DatabaseDocument a Database

    Analyze the Performance of a DatabaseAnalyze the Performance of a Database

    44Microsoft Access 2007

    Linked Table ManagerLinked Table Manager

  • 8/8/2019 MS Access 2007 L3 122408

    45/50

    Linked Table ManagerLinked Table Manager

    Tables linkedto the database

    Option to set new location

    45Microsoft Access 2007

    Object Dependencies Task PaneObject Dependencies Task Pane

  • 8/8/2019 MS Access 2007 L3 122408

    46/50

    Object Dependencies Task PaneObject Dependencies Task Pane

    Object Dependencies task pane

    Dependent Objects

    46Microsoft Access 2007

    Database DocumenterDatabase Documenter

  • 8/8/2019 MS Access 2007 L3 122408

    47/50

    Database DocumenterDatabase Documenter

    Report on the selected

    objects in the database

    47Microsoft Access 2007

    Performance AnalyzerPerformance Analyzer

  • 8/8/2019 MS Access 2007 L3 122408

    48/50

    Performance AnalyzerPerformance Analyzer

    48Microsoft Access 2007

    Reflective QuestionsReflective Questions

  • 8/8/2019 MS Access 2007 L3 122408

    49/50

    Reflective QuestionsReflective Questions

    1. Are there any maintenance techniques that you have not been usinga you w s ar us ng now xp a n.

    2. What maintenance tools do you think will be most useful for yourjob? Why?

    49Microsoft Access 2007

  • 8/8/2019 MS Access 2007 L3 122408

    50/50