BT118 Lab Access 4(2)

Embed Size (px)

Citation preview

  • 7/25/2019 BT118 Lab Access 4(2)

    1/6

    Hands-On Lab, Access 4 NAME:Kyle ScottDue in Lesson 10 > Hands-On Labby 4:59 !"! on #$iday in %ee& '(!

    Lea$nin) Outco"es:

    *n t+is lab, you ill:Examine query criteria; use forms to add new records; edit a table to

    include attachments; create and modify a form; create a report based on a query; use the

    Lookup Wizard to generate a list of possible values for a table field; delete a field; reflect on your

    strengths and struggles with Access

    Ste ':

    Ea"ine t+e c$ite$ia in an eistin) .ue$y:

    ! "pen the Access file LifesAnimalShelter.accdbthat you downloaded with this lab#s files

    $ %n Access& make sure that the 'avigation pane is set to display All Access "b(ects

    ) "pen the only query in the database in *esign view After examining the criteria& explain

    how a particular combination of field and criteria is responsible for this query being titled+/ets%it+outMatc+in)One$!,

    Most li&ely t+is $e$esents t+ese a$e ani"als it+out one$s but also

    in0o$"ation to +el t+e" )et a ne +o"e!

    - .lose the query

    Ste 1:

    Add data to an eistin) 0o$":

    ! "pen the One$form /se the following data to add a new record to the database0

    One$*D 1!12One$LastNa"e "bama

    One$#i$stNa"

    e

    3ichelle

    Add$ess !411 5ennsylvania

    Avenue 'W

    2ity Washington

    State *.

    3i $1211

    /+one 6$1$7 -248!!!!

    $ .lose the One$form

    Ste :

    Edit a table to include i"a)e attac+"ents:

    ! "pen the /etstable .hange the view to *atasheet view

    $ 9elect the arrow to the right of Click to Addin the column header& then clickAttachment

    :he first record in the 5ets table will now look like this0

    BT118 A. Johnson Page 1 of 6

  • 7/25/2019 BT118 Lab Access 4(2)

    2/6

    ) Add a new record to the /etstable

    /et Na"e o

    ye *og

    6$eed 5ortuguese Water *og

    A)e < yrs

    7ende$ 3

    2olo$ lack= White

    #KOne$*D 1!12

    8Attac+"ent

    Right-click on

    this image and

    select 9ave As5ictureto

    download it to

    your

    computer.

    Name the

    picture file

    o"bama(pg

    :o add the image of o the dog to his record in the

    /etstable& click the paper8clip icon in the attachment

    field& then clickAddto browse for the Bobama.!pgimage you downloaded0

    .lick "> to add the image to the table

    .lose the 5ets table

    Ste 4:

    2$eate and "odi0y a ne 0o$":

    ! .lick the ?orm Wizard button in the .reate tab

    $ ?rom the /etstable& add only the following fields0

    "et Name# $ype# Breed# Age# %ender# Color# &'wner()

    BT118 A. Johnson Page 2 of 6

  • 7/25/2019 BT118 Lab Access 4(2)

    3/6

    ) .lick 'ext to continue the wizard0

    a @iew your data by 5ets

    b 9elect the .olumnar layout

    c Accept the form title of "ets 9elect +3odify the form#s design, and click ?inish

    - our new form will open in *esign @iew and should look like this0

    2 3odify the form0

    a Bit the ?- key on your keyboard to display the "roperty Sheet

    b 9elect the 5et 'ame textbox

    c Bold down 9hift while you select all of the other textboxes& one a time

    d %n the 5roperty 9heet& change the Width to $2, and hit Enter

    e .hange the :ext Align property to Left and hit Enter

    BT118 A. Johnson Page 3 of 6

  • 7/25/2019 BT118 Lab Access 4(2)

    4/6

    f .hange the @iew to Layout @iew our form should now look like this0

    4 .hange the @iew back to *esign @iew

    a Crab the right margin of the form and drag it to the

  • 7/25/2019 BT118 Lab Access 4(2)

    5/6

    /et Na"e 9unny

    ye *og

    6$eed 5ortuguese Water *og

    A)e ) yrs

    7ende$ ?

    2olo$ lack

    #KOne$*D 1!12

    8Attac+"ent

    Right-click on

    this image and

    select 9ave As

    5ictureto

    download it to

    your computer.

    Name the file

    9unny"bama(p

    g

    :o add the photo& click the image

    box then click the paper8clip icon

    to manage attachments0

    Add the image of 9unny to her

    record& then close the form

    Ste :

    2$eate a $eo$t based on a ne .ue$y:

    ! .reate a query that shows only the pet name& owner#s last name& breed& and gender of

    the dogs in the database 6,(N$ ou will need to add criteria to one more field that does

    not show7

    $ Dun the query to test it& then save the query as Do)s

    ) /se the Deport Wizard to create a report based on the *ogs query you (ust made

    a Add all fields from the /uery )ogsto the report

    b @iew your data by "wner& sort on 5et 'ame& and choose a lock layout .lick ?inish

    c .lose the One$report

    - .lose any open Access ob(ects& then close the database& paying attention to where you

    saved it on your computer

    BT118 A. Johnson Page 5 of 6

  • 7/25/2019 BT118 Lab Access 4(2)

    6/6

    Ste ;: