introduction to access
DESCRIPTION
Introduction to Access. Busn 111 - Intro to Business Computing Edward Mitchell. What is Access?. Access is a “data base” program for storing and retrieving information While you can store data in Excel lists and tables, Access is better for storing large quantities of data - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/1.jpg)
Introduction to Access
Busn 111 - Intro to Business ComputingEdward Mitchell
![Page 2: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/2.jpg)
What is Access?
•Access is a “data base” program for storing and retrieving information
•While you can store data in Excel lists and tables, Access is better for storing large quantities of data
•Access can store many types of information more efficiently - meaning less storage, less duplication of data
![Page 3: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/3.jpg)
Other kinds of databases
•Access is a “relational database” - which for now we will leave as a “fancy name” - but implies a certain kind of flexibility and power unavailable other forms of data storage
•Flat-file database - old fashioned library card catalogs, a simple list of information in Excel
![Page 4: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/4.jpg)
Flat File + and -
•Flat files are easy to understand and setup
•Flat files can be inefficient at storing information (narration covers example of a customer order at an online store)
•Duplicated data leads to errors
![Page 5: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/5.jpg)
Relational databases
•A relational database stores information in tables
•Properly structured, is more efficient and eliminates duplication of data
![Page 6: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/6.jpg)
Relational Example•We have a table containing the
customer’s order
•Rather than storing the customer information with the order, we store only a unique identifier for the customer (for simplicity, let’s say the phone #)
•In a separate Customer table, we store all of other customer information
![Page 7: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/7.jpg)
Relational Example 2
•When the customer places an order, we store the customer’s phone # in the order table with the order.
•We use the phone # to cross reference to the Customer table.
•For each order, we have only one copy of the Customer contact information
![Page 8: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/8.jpg)
Relational Example 3
•By storing only one copy of the customer data, rather than storing with each order, we use up less disk storage
• If the customer moves, we only need to update a single entry in one table.
•We do not need to find all previous orders and change those too.
![Page 9: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/9.jpg)
Access “Tables”• Information is stored in “tables”
•Think of a table as containing a “record” of related data such as name, address, city, zip, telephone and email address.
•A “customer table” then contains a collection of data records, each record having information about one customer
![Page 10: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/10.jpg)
Tables and “records”
•The data stored in each “record” is actually contained in “fields”.
•For example, “Name”, “Address”, “City”, “State”, “Zip” and “Telephone” are six separate fields to hold each value.
![Page 11: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/11.jpg)
Relationship Concepts
•The Customer_Order table
•The Customer_Info table
•Linked or “related” by a relationship.
•Orders are made-by customers
•Thus, each order is linked to a customer - in our example, through the phone #.
![Page 12: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/12.jpg)
Multiple Tables
•Each access database can contain multiple tables
•We could store the Customer_Orders and Customer_Info tables inside the same Access database file
![Page 13: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/13.jpg)
Retrieving Data
•We search for data in the tables (database) using a “Query”
•A query is - in some ways - similar to the “criteria” we used in Adv Filter in Excel. We use the query to select records that match our query criteria.
![Page 14: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/14.jpg)
Creating a new database
•Creating a new database means defining the tables, and the field within each table
•It also means defining the “type” of the data that goes in each field
•This can require some tedious, detail oriented work to define each field in your table
![Page 15: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/15.jpg)
Using “Wizards”•For many applications, you can use
one of Microsoft’s database creation wizards
•There are many types of “standard” database designs that you can choose from, and customize
•The wizard creates the tables, fields, data definitions for each field and more
![Page 16: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/16.jpg)
Entering and Editing Tables
•We can enter and edit data directly in a table
•A table “view” looks very much like an Excel worksheet of columns of data
![Page 17: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/17.jpg)
Forms
•We can create a “form” for data entry and editing
•A “form” is like a dialog box
![Page 18: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/18.jpg)
Selecting a Template
![Page 19: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/19.jpg)
Using the template Wizard
![Page 20: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/20.jpg)
Selecting Fields for Records in Table
![Page 21: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/21.jpg)
Order Information Table
![Page 22: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/22.jpg)
Various options
![Page 23: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/23.jpg)
Naming database
![Page 24: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/24.jpg)
Finish and Build
![Page 25: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/25.jpg)
Initializing database
![Page 26: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/26.jpg)
![Page 27: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/27.jpg)
![Page 28: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/28.jpg)
Using Table Entry
![Page 29: Introduction to Access](https://reader036.vdocument.in/reader036/viewer/2022062519/568151f9550346895dc031d9/html5/thumbnails/29.jpg)
Intro to Access
•This concludes the basic introduction to Access and databases
•Next time we will begin some specific exercises to practice creating tables
•Homework: Read pages 1259 to 1275 in Chapter 46.