Microsoft Access Tutorial B - Cengage Learning
Microsoft Access Tutorial B - Cengage Learning Microsoft Access Tutorial B - Cengage Learning
those records not in Delaware (DE). Do not perform this operation, but note that, if you did,the set-up would look like that in Figure B-44.Figure B-44Deleting all employees who are not Delaware residentsParameter QueriesAnother type of query, which is a type of Select query, is called a Parameter query. Here isan example: Suppose that your company has 5,000 employees. You might want to query thedatabase to find the same kind of information again and again, only about different employees.For example, you might want to query the database to find out how many hours a particularemployee has worked. To do this, you could run a query previously created andstored, but run it only for a particular employee.AT THE KEYBOARDCreate a Select query with the format shown in Figure B-45.Figure B-45Design of a Parameter query begins as a Select queryIn the Criteria line of the QBE grid for the field SSN, type what is shown in Figure B-46.34 Tutorial B
Figure B-46Design of a Parameter queryNote the square brackets, as you would expect to see in a calculated field.Now run that query. You will be prompted for the specific employee’s SSN, as shown inFigure B-47.Tutorial BFigure B-47Enter Parameter Value dialog boxType in your own SSN. Your query output should resemble that shown in Figure B-48.Figure B-48Output of a Parameter querySEVEN PRACTICE QUERIESThis portion of the tutorial is designed to provide you with additional practice in makingqueries. Before making these queries, you must create the specified tables and enter therecords shown in the Creating Tables section of this tutorial. The output shown for the practicequeries is based on those inputs.AT THE KEYBOARDFor each query that follows, you are given a problem statement and a “scratch area.” You arealso shown what the query output should look like. Follow this procedure: Set up a query inAccess. Run the query. When you are satisfied with the results, save the query and continuewith the next query. You will be working with the EMPLOYEE, HOURS WORKED, andWAGE DATA tables.Microsoft Access Tutorial 35
- Page 1 and 2: Microsoft Access TutorialBTUTORIALM
- Page 4 and 5: Adding Records to a TableAt this po
- Page 6 and 7: show the SSN, the current wage rate
- Page 8 and 9: • Spell, capitalize, and space a
- Page 10 and 11: Figure B-17 Query set-up for wages
- Page 12 and 13: Figure B-21Choices for statistical
- Page 14 and 15: When you run the query, your output
- Page 16 and 17: Figure B-31Changing the Group By to
- Page 18 and 19: Figure B-35Output of query with dat
- Page 20 and 21: order an item from a Web site, the
- Page 24 and 25: 1. Create a query that shows the SS
- Page 26 and 27: FieldTableSortShowCriteriaOr:Figure
- Page 28 and 29: FieldTableUpdate toCriteriaOr:Figur
- Page 30 and 31: Figure B-65Sorting and Summary Opti
- Page 32 and 33: To edit the report in the Design Vi
- Page 34 and 35: You can change the Grand Total in t
- Page 36 and 37: Your goal is to get the Street Addr
- Page 38 and 39: Find and import your spreadsheet. B
- Page 40 and 41: The second step is to make a form b
- Page 42 and 43: Make sure the Toolbox window is sho
- Page 44 and 45: The Switchboard Manager screen will
- Page 46 and 47: TROUBLESHOOTING COMMON PROBLEMSAcce
- Page 48: Access fits the output all on one p
those records not in Delaware (DE). Do not perform this operation, but note that, if you did,the set-up would look like that in Figure B-44.Figure B-44Deleting all employees who are not Delaware residentsParameter QueriesAnother type of query, which is a type of Select query, is called a Parameter query. Here isan example: Suppose that your company has 5,000 employees. You might want to query thedatabase to find the same kind of information again and again, only about different employees.For example, you might want to query the database to find out how many hours a particularemployee has worked. To do this, you could run a query previously created andstored, but run it only for a particular employee.AT THE KEYBOARDCreate a Select query with the format shown in Figure B-45.Figure B-45Design of a Parameter query begins as a Select queryIn the Criteria line of the QBE grid for the field SSN, type what is shown in Figure B-46.34 <strong>Tutorial</strong> B