Вы находитесь на странице: 1из 3

1. 2. 3. 4. 5. 6. 7. 8.

Turn on laptop Enter in username and password (on instructor screen) Open up Access Select Blank database Enter name under File Name on the right hand side. Default is Database1 Click Create button A new table will appear, default name of Table1 Click on Click to Add select the type of information you will enter (Ex. Text, Number, Currency, etc) 9. Name the column 10. Repeat steps 8 & 9 until columns match the number and name on the example tables 11. Click in the box below the column heading and enter in the data from the first record (101) 12. Hit Tab and you can the cursor will do the field to the right, enter in the information and then hit Enter then Tab to go to the next record 13. ID although initially showing (New) will autopopulate once you start typing in a new record. 14. Alternatively you can create a table using Table Design a. Create column headings under Field Name b. Type of information allowed is under Data Type c. Set Primary Key by first selecting the field and then right clicking to bring up a menu and select Primary Key or selecting Primary Key in the ribbon 15. Relationships are set by selecting Relationship under the Design tab of the ribbon a. Drag and drop the fields to the matching field in another table to establish relationships 16. For queries go to http://wps.prenhall.com/bp_romney_ais_12/ -> select Ch. 4 from above then Case, Journals and Ledgers from the left hand column then select S&S In-Chapter Database a zip file will download. 17. Double click the file to open it and then double click again to unzip the file. The database will then open in Access, Select Enable Content that shows up in yellow banner 18. Click the circle next to Tables a drop down menu will appear, select All Access Objects 19. Go to the Create tab then Query Design 20. Select all four tables by holding down Shift Key then clicking the bottom table (SalesInventory) then the Add button 21. All four tables will appear with the relationships showing 22. Try to answer 4-4a yourself Solution in Design View a. Drop Item # from Inventory Table into an empty column in the Description Field b. Select Totals from the ribbon above (Total:) will appear to the Left and Group by will appear below Inventory. Leave the Show: button checked c. Click Run (Red Exclamation Mark) from above d. 5 records appear (10, 20, 30, 40, 50) 23. Try to answer 4-4b yourself Solution a. Select Date and Sales Invoice # into the Description Field

b. Enter Between #10/1/2015# And #10/31/2015# in the Criteria field (# designates that Access is looking for a date) c. Select Totals from the ribbon d. Select Run e. Four records will appear 24. Try to answer 4-4c yourself Solution a. Add a calculated field by right clicking on the Field: and selecting Build b. Drill down to the tables under the DB c. Select Quantity from the Sales Inventory Table d. Add the multiplier symbol * e. Select Unit Price from Quantity then click OK button f. Change title from Expr1: to Total Sales g. Select Sum from Total Field h. Run i. Four values appear for each sales invoice number j. Save query Ctrl-S as 4-4 k. Then select Query Design from Create tab l. Select 4-4 from Queries tab in pop up m. Select Total Sales into Description Field n. Select Totals from the ribbon o. Change Total: to Sum p. Run q. A: 7528 r. Save query as 4-4c 25. Try to answer 4-4d yourself Solution a. Change the Sum in Query 4-4c to Avg b. Run 26. Try to answer 4-4e yourself Solution a. Open Query 4-4 b. Add Salesperson from Sales Table c. Run d. A: S. Knight 4394 27. Try to answer 4-4f yourself Solution a. Create new query b. Add all four tables c. Add Quantity from Sales-Inventory d. Add Item # from Sales-Inventory e. Select Totals f. Under Quantity group by Count g. Run h. A: (10-3, 20-2, 30-2, 40-1, 50-2) i. If you want for October add Date

j. And Between #10/1/2015# And #10/31/2015# to criteria k. It will be broken up by date but you can still find the answer 28. Solution from 4-4f will be to answer 4-4g a. A: tie between Item 10 and 50 for October

Вам также может понравиться