7235621 Lecture 5 Staring MS Access Access Objects

download 7235621 Lecture 5 Staring MS Access Access Objects

of 23

Transcript of 7235621 Lecture 5 Staring MS Access Access Objects

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    1/23

    DBMS

    Lecture 5

    Starting Microsoft Access

    Creating and Closing Access DatabaseMS Access Objects

    Zeshan Ahmer

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    2/23

    2

    Starting Microsoft Access

    Click on

    Start Programs Microsoft Access

    Double click the Shortcut of Microsoft Access

    Double click a saved file of Microsoft Access

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    3/23

    3

    Only one database can be opened in

    Microsoft Access at a time

    Tool Tip a button's / icons function is

    displayed when the mouse pointer rests

    on a toolbar button

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    4/23

    4

    MS Access uses standard window

    components: Title bar, Menu bar,

    Tool bar, Status bar

    Title bar: displays name of active

    document

    Menu bar: displays all the menucommands

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    5/23

    5

    Tool Bars: Standard (commonly used

    commands);

    Status Bar: bottom of screen, gives

    information about current status of

    access

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    6/23

    6

    Task Pane

    New feature in Microsoft Access XP / 2002

    replacing the old dialog boxes

    When access is opened, Task Pane can be

    viewed on right side of access window

    If Task Pane is not displayed thenView Toolbars Task Pane

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    7/23

    7

    MS Access Database

    Access database is a container, holds all

    database objects

    Access database is to be created before

    creation of access objects

    Newly created access database is empty

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    8/23

    8

    Creating Database in Access

    There are two options available:

    Create a new blank database

    Create a database based on one selected

    template

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    9/23

    9

    Creating Blank Access Database

    When access is opened, Task Pane can

    be viewed on right side of access window

    Select Blank Database under the newoption

    Click on new button on toolbar

    Click on File New

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    10/23

    10

    Saving the Access Database

    Save the access database file

    Select folder where you want the file to be

    saved

    Give a filename

    Press Create

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    11/23

    11

    Creating Template Based Access Database

    When access is opened, Task Pane can be

    viewed on right side of access window

    Select General Templates under the New From

    Template option

    Select a template only if it fulfills all of the needsof the database required

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    12/23

    12

    Closing the Opened Access Database

    File Close

    Click on on the right corner of the

    window, just below the top right

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    13/23

    13

    Open Saved Access Database

    File Open

    Click on the folder icon on the toolbar

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    14/23

    14

    Open Saved Access Database

    View Toolbars Task Pane

    Under Open a File option, select one file from

    the list if the desired file to be opened is

    available in the list

    or

    Click on the more file options

    Select the path

    And select the file to be opened

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    15/23

    15

    Exit from Microsoft Access

    File Exit

    Click on button on the top right corner o

    the window

    Alt + F4

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    16/23

    16

    Microsoft Access Objects

    Following objects available in MS Access, canbe viewed on left side of the window

    TablesQueriesFormsReports

    PagesMacrosModules

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    17/23

    17

    Different Views

    Four different views are available to see

    the access objects

    Four icons available to select the fouravailable views Large Icons

    Small Icons List

    Details

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    18/23

    18

    Tables

    Tables consists ofRows and Columns

    Tables used to store data in Access

    Access stores each database entry in a

    row called a Record

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    19/23

    19

    Tables

    Each record is broken into information

    called Fields

    Each field contains a column in a table

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    20/23

    20

    Forms

    Used to:

    Enter data in the database

    Edit data in the database

    View data from the database

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    21/23

    21

    Queries

    Allows to ask questions from database

    e.g.

    View the data from database based on a

    criteria

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    22/23

    22

    Reports

    Used to display the information stored in

    the database in a proper format for

    printing purposes

  • 8/14/2019 7235621 Lecture 5 Staring MS Access Access Objects

    23/23

    23

    Relationships

    Access is Relational Database

    It allows to make relationships between

    tables

    Relationship between the two tables is

    based on a field that is common in both

    the tables