Go out to and Use the Zip Code 53222
Total Page:16
File Type:pdf, Size:1020Kb
Cars
I am hiring you to find a car or truck for me. I am going to give you a few requirements on what I am looking for in a vehicle and you can make a decision on what type of car would best fit my needs. The Price should be between $7,000 and $30,000 dollars. The Mileage can be between 1 and 60,000 (60K) miles. I want a choice of vehicles to choose from so that means you have to have 5 different Makes of a car or truck with 2 different Models of each. This will give you a total of 10 vehicles for your database. (Example: Ford is a Make, Explorer is a Model)
Go out to http://beepbeep.com and use the zip code 53222.
Open a New Microsoft Access Database and Name it with your first name and first initial of your last name and the file name Shopping (Example: JohnS-Cars)
Create Table 1. In the Database Window click on the Table and then double click on Create table in Design View
2. Create a new Table by double clicking on Create table in Design View
3. Type the following fields to set up your table.
Field Type Description Type Text New or Used Year Number Year car was made Make Text Make of Vehicle (Ford, GMC) Model Text Model of Vehicle (Explorer, Sonoma) Body Text Type of Body (Truck, Sedan, if none listed N/A) Color Text Color of Car Miles Text Amount of Miles on Vehicle Price Currency Cost of Vehicle Picture OLE Picture of Vehicle
4. Close your table when complete by using the X on the right side of the table window you are working in. 5. Name the Table with your first name and first initial of your last name and the file name shopping (Example: JaneS-Cars)
6. Click Yes that you want to define a Primary Key.
Create Form 7. Click on the word Form on the left side of the Database Window under the word Objects
8. Double Click on Create form by using wizard
9. Move all Available Fields on the left side to the right side under Selected Fields. Put ID back to the left side of the screen by clicking on it and using the single arrow <
10. Choose Columnar for the layout of your form and Click Next
11. Choose what ever style you like for your form style and Click Next
12. Click Finish
Start Gathering Data
Go out to the website and start looking for your first item. Below is an example of what one item entered into a form might look like. Important things to remember when entering the data into your form:
Make sure to put the Type as New or Used The price is in currency form which should appear automatically if you set up your table correctly. The Picture is copy and pasted from the website by clicking on the spot next to the title picture in your form.
When you have found a total of 10 vehicles go to the next step.
Create a Query Now that you have all of your information entered I would like you to show me some information about the items you have found.
1. Click on the Database Object Button – Queries in the Database Window 2. Double Click on Create query by using wizard 3. Click on the >> 4. Click on Next 5. Click on Modify the query design 6. Click Finish 7. Click the Show Check Box for ID (I do not want to see this field when the results of your query are shown. 8. Click in the Criteria field for Type and type “New” and click the Run Icon on the Toolbar. ( The Run Icon is used to tell Access to look for anything with the criteria that you have requested.)
9. After clicking on the run icon a table will appear with the answer to your query.
10. Open a Blank Word Document. Save it to your directory in your database folder with the name Car Query. Create a header with your Name, Hour, Name of Class, Date and Assignment Name Car Query. Put the title Car Query Answers on the top of the paper. Leave this document open and click back on your Access Query Window.
11. The first item should be highlighted. (If not just click anywhere on the table.) Hold down the Ctrl Key (Control Key) and then press the A your whole table will now be black. (Using the Ctrl Key and the A allows you to select all of the material in the screen you are on.)
12. Hold the Ctrl Key down and press the C (this is a keyboard shortcut for Copying, you can also right click on the black area or use the copy function found under Edit on the Menu Bar.)
13. Click over to your Word Document called Car Query and click below your title Car Query Answers (You may have to hit the Enter key a couple of times to get a few empty lines.) Hold the Ctrl Key down and press the V (this is a keyboard shortcut for Pasting. You can also right click on the area or use Edit on the Menu Bar.) Press Enter Once.
14. Go back to your query and click on the Design View Icon. Delete “New” in the Item Type. You are now ready for your second query.
15. Click in the Criteria field for Type and type “Used” and click the Run Icon on the Toolbar.
16. Hold the Ctrl Key down and Press the A the table should be black now hold the Ctrl Key down and Press the C.
17. Go to your Word Document Car Query and Click below your first table that you pasted and hold the Ctrl Key down and Press the V. (Your second table should appear showing the query results for a second color of red.) Press Enter Once.
18. Go back to your query and click on the Design View Icon. Delete “Used” from the Item Type Criteria Field. You are now ready for your third query.
19. Click in the Criteria field for Price and type Between 9500 and 22000 and click the Run Icon on the Toolbar.
20. Once again Copy and Paste the query results into your Word Document.
21. Do NOT delete Between 9500 and 22000 keep adding to the original query by following the steps below.
22. Go back to your query and Click in the Sort field of Price click on the arrow that appears and chose Ascending.
23. Click on the Run Icon on the Toolbar. Your query results should now appear.
24. Copy and Paste the query results into your Word Document.
25. Go back to your query Click on Type in the Criteria area type “New”
26. Click on the Run Icon on the Toolbar. Your query results should now appear.
27. Copy and Paste the results into your Word Document.
28. Go back to your query and delete everything in the criteria fields and change the sort field for price to not sorted
29. Click in the Criteria field for Type and type “New” Close and Save your Query. 30. Save and Close your Word Document Shopping Query.
Create a report 1. Click on the Database Object Button – Reports in the Database Window 2. Double Click on Create report by using wizard 3. Change the Tables/Queries drop down box to Query: (YourName-Cars) 4. Click on the >> 5. Click Next 6. Click Next 7. Click Next 8. Click Next 9. Choose a Style of Report that you like and then Click Next 10. Click Finish 11. As long as your report fits on one page go ahead and print it if it does not fit on one page please ask for help. 12. Go back to your Word Document Car Query and print 13. Staple the Word Document and Report together and hand in.