Access

DeTazz
revised_access_assignment_directions.docx

Access Assignment Directions

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/left_2.gif

Access Tutorial 1: Mini-Case 1

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/center_2.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

  

Scenario: Nick, the owner of a small shop catering to the local fishermen, decided to expand his product line when the lake started to dry up after a drought. Blessed with a large parking area, he decided to add car sales, and thus his business was reborn as Nick's Bait, Tackle, and Used Cars. Determined to keep his used car inventory as organized as his assortment of shiners and larvae, Nick decided that he needed to build a database. He'd start small with one table and then expand it as necessary. Nick realized that it's generally better to create a design with all of the tables that would be needed first, but he figured that a one-table database would be sufficient for a while, and anyway it would be a good way to learn how to use Microsoft Access.

Your Task: Create an Access database with a table called vehicles to keep up with the list of cars on the lot of Nick's store.

Create your vehicles table to hold data listed in Access Table 1-4 for each vehicle. Set the various parameters for the field to match the description of the field provided.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Access Table 1-4    

Fields for Mini-case 1 database

Field

Description

ID Number

A 6-digit identification chosen by Nick that may use both numbers and letters.

Dealer Cost

The price that Nick paid for the car. Should be stored in the appropriate currency format.

Blue Book

The estimated used car sales price based on the industry standard “Blue Book” estimates. Should be stored in the appropriate currency format.

Type

The type of vehicle. Data values here can include car, truck, SUV, etc.

Sold

A Yes/No field that can be checked as Yes for vehicles that have been sold.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Create a form for entering data into the vehicles table. Use your form to enter the data listed in Access Table 1-5 :

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Access Table 1-5    

Data for Mini-case 1 database

ID

Cost

Blue Book

Type

Sold

01086

$13,550

$17,888

Car

Yes

01145

$10,500

$12,599

Truck

No

01319

 $8,100

 $9,300

SUV

No

A0554

$11,430

$12,800

Car

Yes

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/left_2.gif

Access Tutorial 1: Mini-Case 2

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/center_2.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

  

Scenario: Since getting their digital cameras, the Couleur family takes a lot of pictures. As the family computer expert, Amy is usually the one who has to upload the photos to the family computer and keep them organized. She noticed that everyone seems to take and keep a lot more photos now that everything is digital. Amy would like to create an application to help her keep track of the photos that her family takes. She wants to be able to search based on date, family member, or location to find the file names of the photos on her computer. Having just studied Access at school, Amy has decided that a database might be the perfect application for storing her photo information.

Your Task: Create an Access database with a table called photos to keep up with the list of photos of Amy's family.

Create your photos table to hold the data listed in Access Table 1-6 for each digital photo. Set the various parameters for the field to match the description of the field provided.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Access Table 1-6    

Fields for Mini-Case 2 database

Field

Description

photo_ID

A photo ID number that can be automatically generated.

photographer

The name of the family member who took the photo.

date

The date when the photo was taken.

location

The location where the photo was taken.

subject

A brief description of the photo's subject matter.

color

A Yes/No field that can be checked as Yes for color photos and No for black/white photos.

filename

The file name of the photo stored on Amy's hard drive.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Create a form for entering data into the vehicles table. Use your form to enter data. Enter about 10 records. An example record is provided in Access Table 1-7 .

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Access Table 1-7    

Example data for Mini-Case 2 database

Field

Data

photo_ID

1

photographer

Julie

date

8/7/2007

location

Burgundy, France

subject

The Roche de Solutre. A natural and prehistoric site in France.

color

Yes

filename

roche001.jpg

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/left_2.gif

Access Tutorial 2: Mini-Case 1

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/center_2.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

  

Scenario: Canard and Sons, founded in 1980, was a small, family-run maker and distributor of gourmet pâtês. In 1988, the company was sold to MultiBrands, Inc. A new management team was installed, but the conglomerate retained the original name, which had become quite well known among pâté connoisseurs. Since then the enterprise has grown from a small family business to one that employs over 30 people. Toby Childers, the director of human resources, has long maintained a list of the company's employees in the form of a single-table Access database. Using the database, Mr. Childers can answer many questions that he and other managers might have about the company's associates.

File: Download and open the Access database ACC_2_MC_Employees.accdb.

Your Task: Use queries with the Access database ACC_2_MC_Employees.accdb to answer the following questions:

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What are the names, departments, and salaries of all employees? (Save this query as EmployeeList.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What are the names of all of the employees in the Accounting department? (Save this query as AccountingList.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What are the names and departments of employees who have an annual salary of at least $100,000? (Save this query as 100000.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What are the names, departments, and birthdates of employees with an annual salary between $30,000 and $50,000? (Save this query as 30kto50k.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Who are the employees who have worked at the company since the year 2000? (Save this as after2000.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Who are the employees who have worked at the company since the year 2000 and have an annual salary at least $35,000? (Save this as after 2000and35k.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

List the employees that are in both the Finance (FIN) and Operations (OPS) departments. (Save your query as FINorOPS.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Which employees will have been with the company for more than 10 years at the start of 2007? (Save your query as 10Years.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Which employees will have been with the company for more than 10 years or will be over 30 years of age as of the start of 2007? (Save your query as 10Yearsor30.)

Make a report based on salary30kto50k. Group the data by the birth date and sort the data within groups by salary.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/left_2.gif

Access Tutorial 2: Mini-Case 2

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/center_2.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

  

Scenario: Pepé L'Arrange is organizationally challenged. He's very talented and when he gets around to doing anything he generally does it very well. The problem is that he just can't keep up with what it is he needs to do next. He's decided that he needs to take the database skills that he learned in class and build himself a tool that he can use to organize his life. Unfortunately, Pepé has forgotten to get it built, so he needs your help. What's needed is a database table that Pepé can use to keep up with the tasks that he needs to do and when they need to get done. In a moment of organizational inspiration, he did manage to make a list of the fields that are needed in this table. These are shown in Access Table 2-3 .

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Access Table 2-3    

Tasks table fields

Field Name

Data Type

Description

taskDesc

Text

A description of the task that needs to be done.

taskPriority

Number (Integer)

How important the task is relative to others in the database. Stored as a number from 1 to 5 with 1 being the most important.

taskDueDate

Date/Time

The date when the task needs to be completed. For some items there may be no due date.

taskCompleted

Yes/No

Whether or not the task has been completed.

taskCategory

Text

The number of shares in the block of stock.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

File: There is no file to download for this case.

Your Task: Build a database with the table described in the Scenario. Create a form that Pepé can use to enter tasks. Add queries to the database that will help Pepé by answering the following questions.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What items are due within the next week? (Save this query as weeklyTasks.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What tasks are stored for the “school” category? (Save this query as schoolTasks.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Are there any tasks with a priority of 1 that are due today? (Save this query as highToday.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

How many tasks for the “Work” category have been completed? (Save this query as workDone.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

How many tasks from last week were completed? (Save this as lastCompleted.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Which tasks are stored that have no due date or a priority of 5? (Save this as lowTasks.)

Also, create a report based on one of the queries that will show the tasks for the next week in order of due date and priority. You should make up data and enter it into your table to test the components that you create.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/left_2.gif

Access Tutorial 3: Mini-Case 1

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/center_2.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

  

Scenario: Breanna had always been a voracious reader. She read just about anything she could get her hands on: mysteries, romance, biographies, science fiction. You name a book and there's a high probability that Breanna has read it. She also owns many of the books that she's read. Breanna is about to go off to college in another city, and her vast book collection has become a bit of a problem. She can't take them with her—too much to transport and too many to fit in her dorm room. In addition, her entrepreneurial parents are eager to rent out her room. The solution? Store the books in the attic. But, before she does, Breanna wants to take an inventory and store her book lists in a database rather than keep paper-based lists.

Your Task: Help Breanna by creating the Access database tables shown in the Access data model in Access Figure 3-46 . Use appropriate data types for each field. Fields that are bold in the figure represent the primary keys for each table. (Note: both fields in the authorISBNs are bold. This is known as a compound primary key. It means that the combination of the two field values should be unique for each record.) Use the Access Relationship window to add the relationships between tables. Remember to enforce referential integrity.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/piercy3901/piercy3901m05/image_n/np0015-46.jpg

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Figure zoom
  

Access Figure 3-46   

Book inventory database.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Create data entry forms for your database. Make one form for each table.

Enter appropriate data into your database using the forms that you created. You may make up the data, or you can find inspiration using your personal library.

Create Access queries that will answer the following questions:

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What authors (first and last name) wrote what books (title, year published, and description) by what publisher (publisher name)? (Save your query as bookList.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Choose one of the authors in your database. What publishers published books by this author)? (Save your query as authorPub.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What books if any have more than one edition (title, author, publisher, edition, year published)? (Save your query as edition.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What authors wrote a book that was published before 1990? (Save your query as 1990Entries.)

Create a report based on the query bookList. Group by authors' last names. Subgroup by publisher name.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/left_2.gif

Access Tutorial 3: Mini-Case 2

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/center_2.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

  

Scenario: Melita Voiture is the proud owner of a car service in the big city. Her cars are hired out on a daily basis to her customers. In addition to Melita's fleet of cars, she owns a garage with several mechanics on staff to maintain the fleet. Melita's customers prefer their cars in perfect working order. While Melita covers the costs of preventive maintenance, other repairs are paid for by the customer. Melita needs to keep track of when the cars are hired out and to whom. In addition, she wants to keep careful track of how often cars have been maintained, who worked on them, and the details of the work performed. In order to keep up with this data, she's commissioned you to create a database based on the model shown in Access Figure 3-47 .

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/piercy3901/piercy3901m05/image_n/np0015-47.jpg

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Figure zoom
  

Access Figure 3-47   

Car maintenance database.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Your Task: Create a database based on Melita's data model. Your database should include the tables, fields, and relationships shown. Choose appropriate data types and set input masks and lookup fields as appropriate. In addition, create queries to answer the following questions:

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Which customers use which cars and at what daily rate?

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What is the total daily rate for all cars?

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Which mechanics worked on a car for more than 5 hours?

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Which cars have been worked on in the last 3 months?

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Which customers still owe for repair work? (Create a query and a report based on the query.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/left_2.gif

Access Tutorial 4: Mini-Case 1

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/center_2.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

  

Scenario: MyFace.com, a social networking Web site popular with the cool kids, just bought a database of student names from the local community college for use in marketing the features of their site. They hope to mine the data to identify trends that they can use to improve their services and attract more eyeballs. For example, if they were to find out that there is a significant number of students majoring in fifteenth-century Asian art, they could add provocative photos of Ming vases to their Spring Break pages. The folks at MyFace.com are willing to provide an extra 10Mbytes of Web storage and status as a gold platinum user to anyone who can help them query the database to answer the following questions.

File: Download and open the Access database ACC_4_MC_Students.accdb.

Your Task: Use SQL to query the Access database students.accdb to answer the following questions:

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Who are the students listed in the database? (Show all fields in student table; save this query as studentList.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What is the major of Alexis Allen? (Save this query as alexis.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Which students are over 30? (Show name and age; save this query as over30.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What are the names, ages, and majors who for those students who enrolled in March 2007? (Save this query as march2007.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Which students are journalism majors who enrolled in March 2000? (Save this query as marchJour.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

How many students were born on a Monday? (Save your query as monday.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What is the average age of students who are majoring in computer science? (Save your query as avgCSCI.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/left_2.gif

Access Tutorial 4: Mini-Case 2

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/center_2.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

  

Scenario: Jacquey Sparrow works for a small Web2.0 startup. A new feature that she wants to add to the Web site is an online “link-saver” application. This application will let people store bookmarks online so that a user may log in to access links to his or her favorite Web sites from any computer connected to the Internet. As a first step, she has created a database that can be used to store the links. She wants to test the data model before writing instructions for the Web developers. To do this, Jacquey needs to run SQL queries against the data model that might be implemented in the Web application.

The initial design for the Web application includes (1) the links database, (2) a main page that shows a brief introduction to the purpose of the link-saver Web page and links users to other pages; (3) a new-user function that allows a new user to create an account; (4) a login function for an existing user to log in; (5) a logout function for a logged-in user to log out; (6) a page where users may view their personally stored bookmarks, a new bookmark can be added, and a bookmark may be deleted.

 Starter File: Tutorial 4: Mini-Case Link-Saver

File: Download and open the Access database ACC_4_MC_LinkSaver.accdb.

Your Task: Use SQL to query the Access database linkSavers.accdb to test the following tasks or answer the following questions:

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

List the usernames and passwords. (Show all fields in user table; save this query as userList.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What are the e-mails of all users who have entered a link? (Save this query as activeUsers.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What are the URLs for all links that are in the Search category? (Do not show duplicates. Save this query as searchURLs.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

What links are available for .com sites? (Include title, link, and category. Save this query as dotComs.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Write the SQL command to add a new link to the links table. (Save this query as addLink.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Write the SQL command to add a new user to the user table. (Save your query as newUser.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Write the SQL command to delete all records in the userLinks table related to user 1. (Save your query as linkDelete.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Microsoft Access Project 1: The WildOutfitters “How-To” Courses Database

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Learning Objectives

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

By reading the business case sections and completing the three parts of this project (Parts A, B, and C) you will:

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Extend your knowledge of Microsoft (MS) Access tables, forms, queries, and reports.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Understand the relationship between the logical model of a database and the physical implementation of that database.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Understand how to implement referential integrity and discover its purpose.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

Learn how to apply Access to solve business problems.

Files for Download: Files associated with this project for you to download are the following:

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

·  

The Mini-Case data model file, ACC_Project_WildOutfitters_Data_Model_1.pptx

 Starter File: Project 1: Wild Outfitters

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Project Introduction

Data and databases are at the heart of many business information systems. If you think about the daily interactions you have with organizations, you will discover that many of these interactions generate data that organizations use to create value for you and for them. For example, when you shop at a retail grocery store, data is gathered about your purchases and your method of payment. If you choose to pay with a debit or credit card, then additional data may be gathered about you and your purchase. Many stores offer a discount if you use some type of “customer” card. This enables the store to gather data about your specific purchases and to provide value to you through coupons and other sales promotions. It also enables store management to make better decisions about product selection, pricing, promotions, and so forth. This project will focus on how a retail firm might achieve its goals of generating new business and increasing customer satisfaction by providing a knowledge-oriented service to its customers. You will create the database that will allow this company to accomplish these goals.

General Business Case

Wild Outfitters, Inc. is a well established national outdoor-sports retail products chain with a local store in your area. It carries a complete line of name brand and locally produced equipment and supplies for outdoor enthusiasts. Through customer surveys, Wild Outfitters discovered that many of its customers are beginners and buy equipment but do not know how to use it properly. Rather than view this as a problem, Wild Outfitters sees this as an opportunity to provide better service to its customers and to gain a business advantage over its competitors. Wild Outfitters is going to offer “how to” courses for its customers. During these courses, customers will learn how to use the equipment they purchased, but they will also learn about other equipment they need and might want to purchase. Wild Outfitters will use this free (to the customers) service to increase sales and customer satisfaction. Isaac Timberlake, a student at your business school, is an intern at Wild Outfitters, and Sara Johns, the store manager, asks Isaac to create a Course Management System that she can use to track the courses customers take and the employees who teach the courses. Isaac understands the business requirements, but he needs your help in designing the database that will be at the heart of the Course Management System. The end result of your collaboration with Isaac will be the relational database and associated features specified in the MS Access Project instructions that follow.

Project Data Model Instructions

You will need to download the PowerPoint file ACC_Project_WildOutfitters_Data_Model.ppt. Your instructor will tell you how to do this. This file contains the data model you will reference in order to create your database. There are several slides in the presentation. The first slide is the data model, and the remaining slides are examples of how your tables might look. Remember, you will have to use MS Access to create the actual tables, and you will have to add additional data to meet project requirements.

Part A: Creating the Tables

Part A Problem Definition

Isaac Timberlake welcomed the challenge of creating an information system that will help create business value for Wild Outfitters, Inc. This project focuses on the database component of that IS, and accomplishing this project will enable you to help Isaac by applying and refining the IS skills you've learned. Before you can build the database, you will have to understand the data that must be captured by the system and sketch out how this data will be stored. You should try this on your own and then compare your model to the one found in the ACC_Project_WildOutfitters_Data_Model.pptx file.

Part A Problem Requirements

Remember, tables are the objects that MS Access uses to store data. Your first task in this part of the project is to help Isaac by using Microsoft Access to create the required tables (see the ACC_Project_WildOutfitters_Data_Model.pptx file). You should use input masks for fields where appropriate (e.g., zip code). If you do not know what an input mask is, use MS Access's Help function to find out. Next, you will need to populate the tables with data. You should make up the data yourself, following the examples in the ACC_Project_WildOutfitters_Data_Model.pptx file. You should create at least 10 records (rows) in the customer table and five records each in the employee, class, and course tables. Your instructor may require that you add more data. You may want to accomplish Part B of the project before you enter all of your data. Lastly, you will need to create the appropriate relationships between the tables. When creating relationships, you should ensure that referential integrity is enforced.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/left_2.gif

Part A Interpretive Questions

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/center_2.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Based on your work in Part A, answer the following questions:

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

1.  

What is the relationship between an instance of a primary key and a record (row) in a table?

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

2.  

What is referential integrity and why is it important for Isaac (and you) to enforce referential integrity in the database you create?

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Part B: Inputting Data into the Database and Creating Forms

Part B Problem Definition

Isaac discovered that, rather than entering data directly into the tables, he could use the MS Access database objects known as forms to enter data into the database. He used the forms that you created to make data entry more efficient and less error-prone.

Part B Problem Requirements

Use the Form Wizard to create a form that will allow you to input data into each of the tables. Although the forms that you create are useful tools for entering data, when a customer makes a purchase, it would be useful to have the option to sign the customer up for a class.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/left_2.gif

Part B Interpretive Questions

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/center_2.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Based on your work in Part B, answer the following questions:

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

1.  

In Part A of the project, you may have entered data directly into the tables. Although this is convenient, why are forms a better way to do this? Why might it be a good idea to avoid entering data directly into the tables?

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

2.  

Forms work well, but given additional hardware and software resources, how could you improve the data entry process to reduce errors?

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Part C: Creating Different Views of Data for Decisions; Creating Database Queries

Part C Problem Definition

Ms. Johns asked Isaac to find out which employees are leading which courses and classes and when they are leading them. She also wants to know which customers are taking classes and when. Lastly, she wants to be able to view the data for each instructor and for each month. Although the data stored in your database is organized into tables, looking at all of the tables to answer her questions or to help her make decisions is inefficient. Fortunately, MS Access provides an object—the query—and a query tool—query by example (QBE)—which makes it easy for you to view selected subsets of your data. In other words, Access makes it easy for you to ask and answer questions about your data and then use this information to make business decisions.

For the purposes of this project, you can think of a query as a question you ask of your database. In addition to QBE, the visually oriented tool you will use here, Access also provides another tool to create queries, although this tool is actually a computer language. Structured Query Language (SQL) is a standardized language for querying databases. With it you can create complex queries of almost any database; however, using SQL is beyond the scope of your project requirements (see Part C Interpretive Question 2 ).

Part C Problem Requirements

Using the Design view and QBE, create the following queries. You may need to add more data to your database so that you can test your query results.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Query 1: What customers have signed up to take classes from which instructors? (This query should return the data in your database for all courses, classes, customers taking classes, and employees leading classes.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Query 2: Who is taking and leading a course in September? (This query should return the courses, classes, customers taking classes, and employees leading classes for September only.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Query 3: What classes is Sara Johns teaching in September? (This query should return the courses and classes that Sara Johns is leading in September only.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Query 4: What classes are being lead by either Sara Johns or Isaac Timberlake in September? (This query should return the all of the courses and classes that Sara Johns and Isaac Timberlake are leading in September only.)

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/left_2.gif

Part C Interpretive Questions

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/center_2.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Based on your work in Part C, answer the following questions:

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

1.  

When querying a database using QBE, what are criteria used for?

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

2.  

When using QBE, what is the difference between asking, “What are all the classes that Employee A and Employee B are teaching?” and “What are all the classes that both Employee A and Employee B are teaching together?”

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

3.  

Although we mentioned that SQL was beyond the scope of this project, you can look at the SQL view for any of your queries. It is one of the choices on the same View menu that you used to select the design view after running your queries. Look at the SQL for Query 2 above. Can you make sense of the SQL query? Look for things like table and field names. You can even change the September query to an August query by changing only one character—try it!

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Part D: Outputting Data to Decision Makers and Other Knowledge Workers; Creating Reports

Part D Problem Definition

Queries are useful tools for asking questions of your data and for transforming data into information that is useful to decision makers. However, the standard query table view is not as useful or as easily readable as most users need or want. Ms. Johns asked Isaac to organize the views of Wild Outfitters data and present it in a well-organized form.

Part D Problem Requirements

To organize the views of Wild Outfitters data and present it in a well-organized form, Isaac will use the MS Access Report object. A report can be based on a table or a query or a combination of tables and queries; however, for Part D of this project you need only to create a report based on Query 2 from Part C above. You can use the Report Wizard to create your report. The report should show all of the data contained in Query 2. When responding to the Report Wizard's prompts, you should select to view your data by class, add “class date” as grouping level, and sort the detailed records by customer last name in ascending order. The layout and style choices are up to you. Finish the report and name it septemberQuery.

Review your report and note the “database speak” used for the title and headings. Since the purpose of a well-crafted report is to convey useful information effectively and efficiently, you will need to edit your report. Here are the minimum requirements for Part D of the project.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

1.  

Change the orientation of the report from portrait to landscape.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

2.  

Change the title of the report to “Wild Outfitters September 2008 Classes.”

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

3.  

Move the customer first name label and data so that they are next to each other, last name then first name.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

4.  

Transform all field names into easily readable headings; for example, CourseName should become Course Name, CourseType should become Course Type, and so forth.

Your instructor may add additional requirements or you may want to explore just how professional you can make the report appear.

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/left_2.gif

Part D Interpretive Questions

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/title/center_2.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

Based on your work in Part D, answer the following questions:

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

1.  

What other reports would you suggest that Isaac should create for Ms. Johns to help her understand and manage the courses and classes that Wild Outfitters provides to its customers?

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

2.  

We have mentioned several Access objects throughout this project. Did you notice any additional objects when you were working in the Design view? What were some of these objects, and how did you know that you were looking at an object?

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif

http://edugen.wileyplus.com/edugen/courses/crs4877/common/art2/pixel.gif