Sunteți pe pagina 1din 2

Microsoft Access 2010 Chapter 1 Lab Test Creating an Electronic Accessories Database

Purpose: To demonstrate the ability to create a database, 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 stores 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. 01. 02. 03. 04. 05. 06. 07. 08. 09. 10. Create a new database to store the two tables related to the electronics store. Call the database, (Last Name) HaveMore Electronics Chapter 1. Save on your desktop. Create the sales representatives table using the structure shown in Table A1A 1. Make the Sales Rep ID the primary key. Use the name, (Last Name) Sales Rep, for the table. Add the data shown in Table A1A 2 to the Sales Rep table. Make all data visible by expanding columns if needed. Close Sales Rep table. Create the outlets table using the structure shown in Table A1A 3. Make the Outlet ID the primary key. Use the name, (Last Name)Outlets, for the table. Add the data shown in Table A1A 4. Make all data visible by expanding columns if needed. Close the Outlets table. Create a simple form for the Sales Rep table. Use the name, (Last Name) Sales Rep, for the form. Create a similar report shown in Figure A1A1 for the Sales Rep table. The title of the report should be (Last Name) Sales Rep Information. Your report will consist of 3 records. Close the table. Close Access. Continue with the Chapter 2 directions.

Structure of the Sales Rep table (Table A1A 1)


Field Name Sales Rep ID Full Name Gender Age Hire Date Outlet ID Quota YTD Sales Data Type Text Text Text Number Date/Time Text Currency Currency Field Size 3 25 1 Primary Key? Yes

Data for the Sales Rep table (Table A1A 2)


Sales Rep ID 321 101 475 Full Name Moeller, Pierre Battistini, Jorge (Your Name Here) Gender M M M Age 24 26 39 Hire Date 3/12/2001 7/2/2001 6/6/2002 Outlet ID HME 11 HME 15 HME 26 Quota 3,656,640 3,371,092 1,652,836 YTD Sales 3,336,300 1,960,932 1,432,701

Page 1

Structure of the Outlets table (Table A1A 3)


Field Name Outlet ID Address City State Zip Data Type Text Text Text Text Text Field Size 6 25 20 2 5 Primary Key? Yes

Data for the Outlets table (Table A1A 4)


Outlet ID HME 11 HME 15 HME 26 Address 1298 Western Court 25 Parkington Palace (Your Name Here) C ity Bedlam Southtown Parkville State CA CA CA Z ip 34896 39746 38974

Figure A1A 1

(Last Name) Sales Rep Information

Page 2

S-ar putea să vă placă și