Access CapStone

Jocra6
AccessCapstone1.zip

Access Capstone/Access Capstone/Access 2013 Part 2 - Lab Test A.docx

Microsoft Access 2013

Querying the Electronics Database

Part-2

Total Points = 100

Purpose: To demonstrate the ability to create and use queries.

Problem: Query an electronics shop database in a variety of different ways.

Instructions: Create a fresh GetItNow Electronics database. Execute the following tasks using queries, and print the results.

1. Open the GetItNow Electronics database and, using the Sales Rep table, create a new query for each of the following tasks.

2. Display and print all fields for all the records in the Sales Rep table. Save the query as Lab Test Step 2.

3. Display and print the Sales Rep ID, Outlet ID, and Quota for all records in the Sales Rep table. Save the query as Lab Test Step 3.

4. Display and print the Sales Rep ID, Outlet ID, and Quota for all Sales Reps with a Gender of M. Save the query as Lab Test Step 4.

5. Display and print the Sales Rep ID, Full Name, Age, and Hire Date for all Sales Reps with a hire date after June 1, 2005. Save the query as Lab Test Step 5.

6. Display and print the Sales Rep ID, Full Name, Outlet ID, Quota, and YTD Sales for all Sales Reps with a quota of more than $2,000,000 and Outlet ID of GINE 17. Save the query as Lab Test Step 6.

7. Display and print the Sales Rep ID, Full Name, Outlet ID, and YTD Sales for all Sales Reps with a Sales Rep ID that begins with 6. Save the query as Lab Test Step 7.

8. Display and print the Sales Rep ID, Full Name, Hire Date, and Quota for all Sales Reps with a hire date before July 2, 2004 or a quota of less than $2,500,000. Save the query as Lab Test Step 8.

9. Display and print the Sales Rep ID, Full Name, Outlet ID, and YTD Sales for the top 4 Sales Reps with YTD Sales greater than $1,500,000 and less than $3,000,000. (Hint: Enter a criteria of “>1500000 And <3000000” for YTD Sales.) Save the query as Lab Test Step 9.

10. Display and print the Sales Rep ID, Outlet ID, Full Name, and Hire Date of all records in the Sales Rep table sorted in ascending sequence by Full name. Using a parameter, ask the user to “Enter Outlet ID”, and use it to limit the records to just those which match the parameter. Save the query as Lab Test Step 10.

11. Using all the fields, display and print all the records in the Sales Reps table sorted in descending sequence by Full Name within Outlet ID. Make Outlet ID the first field in the query. Save the query as Lab Test Step 11.

12. Join the Sales Rep and Outlet tables. Using the fields Sales Rep ID, Outlet ID, Full Name, Address, City, and State, display and print all records. Save the query as Lab Test Step 12.

13. Restrict the records retrieved in Step 12 to only Sales Reps with a Sales Rep ID beginning with a 1. Display and print the results. Save the query as Lab Test Step 13.

14. From the Sales Rep table, display and print the Outlet ID and Quota for the highest quota with an Outlet ID of GINE 26. Save the query as Lab Test Step 14.

15. From the Sales Rep table, display and print the average YTD Sales by Outlet ID. Save the query as Lab Test Step 15.

16. If each Sales Rep is required to increase their quota by 15%, display and print the Sales Rep ID, Outlet ID, Quota, and new quota for every record in the Sales Reps table. Save the query as Lab Test Step 16.

17. Close the GetItNow Electronics database and quit Access.

© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

Access Capstone/Access Capstone/Access 2013 Part 3 - Lab Test A.docx

Enhanced Microsoft Access 2013

Creating Reports and Forms

Part-3

Total Points = 50

Purpose: To demonstrate the ability to create reports and forms.

Problem: Your supervisor at GetItNow Electronics wants you to create reports and forms combining data from the Outlets and Sales Rep tables using the techniques learned in Chapter 4.

Instructions: Using the Part-1 GetItNow_Electronics database file, execute the following tasks:

1. Open the Sales Rep report. Group the report by Job Type and sort by Full Name within Job Type. Include totals for Quota and YTD Sales for each grouping. Save the report as Sales Rep Revised. The report should look similar to that shown in Figure A4A – 1.

2. Print the report.

3. Create the Sales Rep by Outlet report as shown in Figure A4A – 2. You will need to use both the Sales Rep and Outlets tables. Include a total for the YTD Sales field. Change the orientation to landscape. Make sure the total control displays completely. (Hint: Use Layout view to make this adjustment.).

4. Print the report.

5. Create the Sales Representatives form shown in Figure A4A – 3 for the Sales Rep table using the Form Wizard. Include the date in the form.

6. Print the form.

7. Submit the test according to the instructions provided by your instructor.

Figure A4A – 1

Figure A4A – 2

Figure A4A – 3

Page 1

© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

Access Capstone/Access Capstone/Access 2013 Part-1 - Lab Test A.docx

Microsoft Access 2013

Creating an Electronic Accessories Database

Part-1

Total Points = 50

Purpose: To demonstrate the ability to create a database, queries, a form, and a report.

Problem: An electronics store wants to keep track of its sales representatives for its various outlets. The database it will use consists of two tables. The Outlets table contains data on the particular outlet store. The Sales Rep table contains pertinent data about the electronics store’s sales representatives.

Instructions: The structure for the Outlets table is shown in Table A1A – 1 and the data is shown in Table A1A – 2. The structure for the Sales Rep table is shown in Table A1A – 3 and the data is shown in Table A1A – 4.

1. Create a new database to store the two tables related to the electronics store. Call the database, GetItNow Electronics.

2. Create the sales representatives table using the structure shown in Table A1A – 1. Make the Sales Rep ID the primary key. Use the name, Sales Rep, for the table.

3. Add the data shown in Table A1A – 2 to the Sales Rep table.

4. Save the Sales Rep table and print it.

5. Create the Outlets table using the structure shown in Table A1A – 3. Make the Outlet ID the primary key. Use the name, Outlets, for the table.

6. Add the data shown in Table A1A – 4.

7. Save the Outlets table and print it.

8. Create a query using the Simple Query Wizard for the Sales Rep table. Include the Sales Rep ID, Full Name, Outlet ID, Quota, and YTD Sales in the query. Save the query as Sales Rep Query.

9. Open the Sales Rep Query and add a criterion to limit retrieval to those sales representatives located in outlet GINE 11. Save the query as Sales Rep – GINE 11 Query.

10. Create a simple form for the Sales Rep table. Use the name, Sales Rep Form, for the form.

11. Create the report shown in Figure A1A – 1 for the Sales Rep table. Add totals for the Quota and YTD Sales.

12. Change the database properties, as specified by your instructor. Submit the database in the format specified by your instructor.

Structure of the Sales Rep table

Field Name

Data Type

Field Size

Primary Key?

Description

Sales Rep ID

Short Text

3

Yes

Sales Representative ID (Primary Key)

Full Name

Short Text

30

Job Type

Short Text

Gender

Short Text

Gender (M or F)

Age

Number

Hire Date

Date/Time

Outlet ID

Short Text

7

Outlet ID

Quota

Currency

YTD Sales

Currency

Year to date sales amount

Table A1A – 1

Data for the Sales Rep table

Sales Rep ID

Name

Job Type

Gender

Age

Hire Date

Store ID

Quota

YTD Sales

321

Moeller, Pierre

PT

M

24

3/12/2001

GINE 11

3,656,640

3,336,300

101

Battistini, Jorge

ST

M

26

7/2/2001

GINE 15

3,371,092

1,960,932

205

Lambert, Paul

PT

M

35

3/16/2002

GINE 11

1,768,442

1,525,237

613

Brunell, Candace

FT

F

36

6/1/2002

GINE 17

3,000,264

2,078,386

475

Dunn, Alan

ST

M

39

6/6/2002

GINE 26

1,652,836

1,432,701

125

Lyon, Jody

FT

F

27

8/3/2002

GINE 15

2,280,900

1,548,311

324

Bulger, Gloria

PT

F

25

12/23/2002

GINE 15

2,651,270

2,451,454

140

Lopez, Maria

ST

F

25

6/3/2004

GINE 17

1,837,213

1,563,140

285

Dillig, Henry

FT

M

42

11/21/2006

GINE 11

3,899,402

1,916,753

512

Kahn, Ramesh

FT

M

44

4/6/2007

GINE 26

3,426,535

3,292,270

678

Chiu, Leslie

PT

F

36

7/15/2007

GINE 26

3,218,514

2,514,181

287

Wochos, Lisa

ST

F

30

10/21/2007

GINE 15

2,648,883

2,188,106

465

Cataldo, Lydia

PT

F

25

11/15/2007

GINE 11

3,668,028

2,846,910

Table A1A – 2

Structure of the Outlets table

Field Name

Data Type

Field Size

Primary Key?

Description

Outlet ID

Short Text

7

Yes

Outlet ID (Primary Key)

Address

Short Text

30

Outlet Address

City

Short Text

20

State

Short Text

2

Zip

Short Text

5

Table A1A – 3

Data for the Outlets table

Outlet ID

Address

City

State

Zip

GINE 11

1298 Western Court

Bedlam

CA

34896

GINE 15

25 Parkington Palace

Southtown

CA

39746

GINE 17

1212 Mocking Bird

Ambervson

CA

38957

GINE 26

774 Oakland

Parkville

CA

38974

Table A1A – 4

Figure A1A – 1

Page 3

© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.