develop database using ms access 2007

Upload: unicdbest

Post on 07-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 Develop Database Using Ms Access 2007

    1/36

    DEVELOP DATABASEUSING MS ACCESS 2007

    Diploma in Industrial TechnologyManagement

  • 8/3/2019 Develop Database Using Ms Access 2007

    2/36

    Describe the concept of database and its functions in

    organization

    Describe the difference and benefits of using database

    approach compare to traditional file environment Apply data analysis methods, entity relationship diagram

    (ERD) and normalization process

    Develop database using MsAccess

  • 8/3/2019 Develop Database Using Ms Access 2007

    3/36

    Database is agroup of related

    files

  • 8/3/2019 Develop Database Using Ms Access 2007

    4/36

    Data consists of facts,text, graphics and

    figure that can berecorded and that

    have implicit

  • 8/3/2019 Develop Database Using Ms Access 2007

    5/36

    Information is thedata that have been

    processed and beingmade to be useful for

    users or decision-

  • 8/3/2019 Develop Database Using Ms Access 2007

    6/36

  • 8/3/2019 Develop Database Using Ms Access 2007

    7/36

    Systems tended togrow independently

    without a company-wide plan

    [segmentized filing

  • 8/3/2019 Develop Database Using Ms Access 2007

    8/36

    Each dept has theirown application with itsown application

    managed their own fileswith their own

    computer

  • 8/3/2019 Develop Database Using Ms Access 2007

    9/36

    Some problems with

    Traditional FileEnvironment;

    Data Redundancyand Inconsistency

  • 8/3/2019 Develop Database Using Ms Access 2007

    10/36

    Data Redundancy

    Data duplication in multipledata files so that the same

    data are stored in more

    than one place or locationWaste storage resources

  • 8/3/2019 Develop Database Using Ms Access 2007

    11/36

    Data Inconsistency

    Confusing due to differentcoding systems to

    represent values for an

    attribute

  • 8/3/2019 Develop Database Using Ms Access 2007

    12/36

    For business use

    For personal use To keep track of things

  • 8/3/2019 Develop Database Using Ms Access 2007

    13/36

    Database Management

    Systems Collection of program that

    enable user to create and

    maintain a database and

    provide control access to

    the database

  • 8/3/2019 Develop Database Using Ms Access 2007

    14/36

    Software that permits an

    organization to centralize

    data, manage them efficiently

    by centralizing the data and

    controlling redundant dataEg. Ms Access, ORACLE,

    FoxPro etc

  • 8/3/2019 Develop Database Using Ms Access 2007

    15/36

    Text

    Numeric Boolean

    Currency Date and Time

  • 8/3/2019 Develop Database Using Ms Access 2007

    16/36

  • 8/3/2019 Develop Database Using Ms Access 2007

    17/36

  • 8/3/2019 Develop Database Using Ms Access 2007

    18/36

  • 8/3/2019 Develop Database Using Ms Access 2007

    19/36

    It is database program thatenables end-users to

    organize and manipulatedata, perform queries anddevelop reports

    There are seven databaseobjects; Table, Form,Queries, Report, Pages,

    Macro and Modules

  • 8/3/2019 Develop Database Using Ms Access 2007

    20/36

    Tables

    Stores information aboutspecific topic

    Consists of fields and records

    More than one tables in asingle database

  • 8/3/2019 Develop Database Using Ms Access 2007

    21/36

    Forms

    Displays information fromdatabase in attractive way

    Prepares a fast and efficient

    way to view, enter or edit datain the database

  • 8/3/2019 Develop Database Using Ms Access 2007

    22/36

    Queries

    Allow end-users to searchinformation from the database

    according to the requirements

    specified in advance

  • 8/3/2019 Develop Database Using Ms Access 2007

    23/36

    Reports

    Document that summarizedata in the database

    Calculation function can be

    included into the reportparticularly for analyzing data

  • 8/3/2019 Develop Database Using Ms Access 2007

    24/36

    Start button > Ms Access >

    Choose Blank Database >Determine database location

    (click folder on left side) >

    enter File Name > clickCreate button

  • 8/3/2019 Develop Database Using Ms Access 2007

    25/36

    Field Name identifies theinformation within a field

    Data Type determine the type ofinformation users can enter

    Field Properties characteristicsthat provides additional controlover the information users canenter in a field

  • 8/3/2019 Develop Database Using Ms Access 2007

    26/36

    Click Create Text > Click Table icon

    > Table 1 displays (on right side) >

    click views > choose Design view >Save Table (give name) > click ok

    Enter Field name

    Choose Data type

  • 8/3/2019 Develop Database Using Ms Access 2007

    27/36

    Establish Relationship

    Ensure Primary and Foreign Key

    already established

    Click database tools > click

    Relationship icon > (show tabledisplays) > choose table(s) > click

    Add > (Table(s) appear in

    relationship)

  • 8/3/2019 Develop Database Using Ms Access 2007

    28/36

    Establish Relationship (continued)

    Drag Primary Key to Foreign Key >

    (noted relationship type appears at

    bottom) > Click Enforce Referential

    Integrity > click Cascade update

    related fields > click Cascade delete

    related records

  • 8/3/2019 Develop Database Using Ms Access 2007

    29/36

    Relational Keys

    One or more attributes that can be identified arow (record)

    Attribute(s) that can relates one entity with

    another entity in a relationship

    Relational key enable us to link the tablestogether in a database for easier data access

    storage

  • 8/3/2019 Develop Database Using Ms Access 2007

    30/36

    Candidate Key an attribute or group ofattributes that identify a unique row in a

    relation. One of the candidate keys ischosen to be the primary key

    Primary Key Any of the candidates thatare selected to be the key or an attributethat uniquely identifies each row in arelational table

  • 8/3/2019 Develop Database Using Ms Access 2007

    31/36

    Foreign Key An attribute in one tablewhose values must match the primary

    key in another table or whose valuemust not be null. Attribute that acts asprimary key in a related table

    Composite Key A primary key thatconsists of more that one attribute,especially inmany to many (M:N)

    relationship

  • 8/3/2019 Develop Database Using Ms Access 2007

    32/36

    Characters to create an input mask : 0 Number 0 to 9, required

    9

    Number or space, optional # Number or space, optional L Letters A to Z, required ? Letters A to Z, optional a

    Letter or number, optional

    & Character or space, required

  • 8/3/2019 Develop Database Using Ms Access 2007

    33/36

    Characters to create an input mask :

    c Character or space, optional

    -/ decimal point and thousands, date and time

    separator < Convert the character to lowercase

    > - Convert the character to uppercase

    ! Display character from right to left

    \

    Display the following input mask character: \& willdisplay &

    Password Display an asterisk for each characteryou type

  • 8/3/2019 Develop Database Using Ms Access 2007

    34/36

    Create Form using form wizards

    Click Create Tab > click more form

    choose form wizards > selecttables/queries > select all fields >click next > choose justified > click

    next > choose style > click next >

    insert form name > click finish

  • 8/3/2019 Develop Database Using Ms Access 2007

    35/36

    Create Report using form wizards

    Click Create Tab > click more form

    choose form wizards > selecttables/queries > select all fields >click next > choose layout justified

    > orientation portrait > choose

    style > insert form name > clickfinish

  • 8/3/2019 Develop Database Using Ms Access 2007

    36/36

    Click create tab > choose Query

    Design > select table > Drag

    selected fields into column > clickrun button > query result

    displayed