Microsoft Access Tutorial B - Cengage Learning

Microsoft Access Tutorial B - Cengage Learning Microsoft Access Tutorial B - Cengage Learning

muricmilorad.files.wordpress.com
from muricmilorad.files.wordpress.com More from this publisher
12.07.2015 Views

You can change the Grand Total in the same way.Finally, you’ll want to save and then print the file: Select File—Save, then select File—Print Preview. You should see a report similar to that in Figure B-74 (top part is shown).Figure B-74Hours Worked by Week reportNotice that the data are grouped by week number (data for Week 1 is shown) and subtotaledfor that week. The report would also have a grand total at the bottom.Moving Fields in the Design ViewWhen you group on more than one field in the Report Wizard, the report has an odd “staircase”look. There is a way to overcome that effect in the Design View, which you will learn next.Suppose that you make a query showing an employee’s last name, street address, zip code,and wage rate. Then you make a report from that query, grouping on last name, street address,and zip code. (Why you would want to organize a report in this way is not clear, but for themoment, accept the organization for the purpose of the example.) This is shown in Figure B-75.Figure B-75Grouping in the Report Wizard46 Tutorial B

Then, follow these steps:1. Click Next.2. You do not Sum anything in Summary Options.3. Click off the check mark by “Adjust the field width so all fields fit on a page”.4. Select Landscape.5. Select Stepped. Click Next.6. Select Corporate. Click Next.7. Type a title (Wage Rates for Employees). Click Finish.When you run the report, it will have a “staircase” grouped organization. In the reportthat follows in Figure B-76, notice that Zip data is shown below Street Address data, andStreet Address data is shown below Last Name data. (The field Wage Rate is shown subordinateto all others, as desired. Wage rates may not show on the screen without scrolling.)Tutorial BFigure B-76Wage Rates for Employees grouped report (Wage Rate not shown)Suppose that you want the last name, street address, and zip all on the same line. Theway to do that is to take the report into the Design View for editing. At the Databasewindow, select “Wage Rates for Employees” Report and Design. At this point, the headerslook like those shown in Figure B-77.Figure B-77Wage Rates for Employees report Design ViewMicrosoft Access Tutorial 47

Then, follow these steps:1. Click Next.2. You do not Sum anything in Summary Options.3. Click off the check mark by “Adjust the field width so all fields fit on a page”.4. Select Landscape.5. Select Stepped. Click Next.6. Select Corporate. Click Next.7. Type a title (Wage Rates for Employees). Click Finish.When you run the report, it will have a “staircase” grouped organization. In the reportthat follows in Figure B-76, notice that Zip data is shown below Street Address data, andStreet Address data is shown below Last Name data. (The field Wage Rate is shown subordinateto all others, as desired. Wage rates may not show on the screen without scrolling.)<strong>Tutorial</strong> BFigure B-76Wage Rates for Employees grouped report (Wage Rate not shown)Suppose that you want the last name, street address, and zip all on the same line. Theway to do that is to take the report into the Design View for editing. At the Databasewindow, select “Wage Rates for Employees” Report and Design. At this point, the headerslook like those shown in Figure B-77.Figure B-77Wage Rates for Employees report Design View<strong>Microsoft</strong> <strong>Access</strong> <strong>Tutorial</strong> 47

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!