Page 52 - AIS access_chang_ingraham
P. 52

50    CHAPTER 3  USING ACCESS TO IMPLEMENT A RElATIONAL DATABASE





























                                                                          . ,;  ,.:.:. . ':.': -.:". "::;..-. - .,
                                                              of 1

                             FIGURE 3-17





                                                      Address      City
                                        jPruski, Tom  3200 Santa Teresa  Hartford
                                      _ Yocam, William 13778 North Torrey Ave. ISugar Land
                                        Hart, John  2105 East ~in~reet  -I0enver  _

                             • Realrd: [jI'pl ~ • [ill. f of 4
                             FIGURE 3-18



                            Telephone Number to Phone #. You need to make the adjustment in the Design View
                            Enter customer information as shown in the datasheet view (Figure 3-18).
                                  9. When you are finished adjusting the form's design and entering the data, close the
                             form.

                                  10. Using the same approach, create the Artist Form.


                             Creating Relationships to Link Tables

                             As stated previously, Access is a relational database. This implies that associations or rela-
                             tionships are created between attributes (columns) in two tables to link the data from one
                             table to another. This is important because the relations allow the data to be brought
                             together in forms and for reporting purposes. Thus, as a result of the relations we build into
                             the database, we can very easily and quickly query the database to discover what customer
                             purchased a particular piece of artwork. The REA model of Cherokee's expenditure cycle
                             is reproduced in Figure 3-19 for review.
                                  Since each artists' pieces can be purchased in any number of purchase events, there
                             should be a one-to-many relationship established between the Artist Table and the
                             Purchase Table so that data regarding artists does not have to be duplicated on the
   47   48   49   50   51   52   53   54   55   56   57