Page 38 - AIS access_chang_ingraham
P. 38

36    CHAPTER 3  USING ACCESS TO IMPLEMENT A RELATIONAL DATABASE




                             db1 : Database (Access 2000 file format)




                                             :Create table in Desinn view: :
                                                             :i?
                                             ;
                                                    _._
                                             Create table by using wizard
                                             Create table by entering data

                                Reports
                                Pages

                                Macros
                                Modules


                                Favori...


                          FIGURE 3-1
                          produce documents such as invoices, purchase orders, sales summaries, and financial
                          statements. However, whereas you can enter and edit the data in a Form, you cannot do so
                          with the data in a Report.
                               Pages (or data access pages) create a Web-based form with the benefit of being able
                          to handle live data from the Internet or an intranet outside of the Access database.
                               Macros are an advanced Access object. A macro performs specific, user-specified,
                          automated tasks, such as opening a form, printing a report, or going to the last record.
                          Macros can also assist in the creation of turnkey applications that anyone can use, whether
                          or not they have experience with Access.
                               Modules are an even more advanced Access object than Macros. Using Modules,
                          you can create and edit Visual Basic code or procedures for the database. Modules are the
                          containers used to organize the code.



                          Creating and Opening a Database

                         To create a new database in Access, you must first launch the Access application. When
                          you launch Access, you will notice a Getting Started dialog box on the right hand side of
                          the screen. At the bottom of this dialog box, you will see a selection enabling you to
                          Create A New File (see Figure 3-2).
                               Click Create A New File and a new screen pops up (Figure 3-3). This function
                          is also available under the File menu and under the New Cl icon.
                               Now click on Blank Database under New. You should now see the File New
                          Database window, as shown in Figure 3-4. A default name of dbl.mdb will appear in the
                          File name text box at the bottom of the window. Type over this name and create a data-
                          base named Cherokee.. Note that typing the extension .mdb is optional because Access
                          automatically supplies it if you do not.
                               Click the Create button. Access will automatically open your new database for you
                          (Figure 3-5).
   33   34   35   36   37   38   39   40   41   42   43