Flylib.com

Books Software

 
 
 

Viewing and Printing Reports in Print Preview

Team-Fly    

 
10 Minute Guide to Microsoft Access 2002
By Joe Habraken
Table of Contents
Lesson 19.  Creating a Simple Report

Viewing and Printing Reports in Print Preview

When you create a report with either AutoReport or the Report Wizard, the report appears in Print Preview (as shown in Figure 19.5). From there, you can print the report if you're happy with it or go to Report Design view to make changes. (You'll learn more about the Report Design view in Lesson 20, "Customizing a Report.")

Figure 19.5. Either AutoReports or reports created with the wizard automatically open in Print Preview.

graphics/19fig05.gif

graphics/zoomtool.gif In the Print Preview mode, you can zoom in and out on the report using the Zoom tool (click once to zoom in and click again to zoom out). Using the appropriate button on the Print Preview toolbar, you can also display the report as one page, two pages, or multiple pages.

graphics/print.gif If you want to print the report and specify any print options (such as the number of copies), choose File, Print. If you want a quick hard copy, click the toolbar's Print button.

If you click the Close ( X ) button on the Print Preview toolbar, you are taken directly to the Report Design view. You learn about the Report Design view in the next lesson.

In this lesson, you learned how to create an AutoReport and a report using the Report Wizard. You also learned how to use Print Preview and print the report. In the next lesson, you learn how to work in Report Design view to customize your report.


Team-Fly    
Top
 
Team-Fly    

  
10 Minute Guide to Microsoft Access 2002
By Joe Habraken
Table of Contents


Lesson 20. Customizing a Report

In this lesson, you learn how to use Report Design view to make your reports more attractive.


Team-Fly    
Top
 

Team-Fly    

 
10 Minute Guide to Microsoft Access 2002
By Joe Habraken
Table of Contents
Lesson 20.  Customizing a Report

Entering Report Design View

You've already seen that you can create reports using AutoReport and the Report Wizard. After you've created a report using either of these methods , you can edit or enhance the report in the Report Design view. You can also create Reports from scratch in the Report Design view.

The Report Design view is similar to the Form Design view that you worked with in Lesson 13, "Modifying a Form," and Lesson 14, "Adding Special Controls to Forms." Like forms, reports are made up of controls that are bound to fields in a table or tables in the database.

To edit an existing report in the Design view, follow these steps:

  1. Click the Reports icon in the database window.

  2. In the list of reports provided, select the report you want to modify.

  3. Click the Design button on the database toolbar. The report appears in Design view, as shown in Figure 20.1.

As you can see in Figure 20.1, the report's underlying structure contains several areas. The Detail area contains the actual controls that relate to the table fields included in the report. Above the Detail area is the Page Header, which contains the labels that are associated with the controls in the Detail area. At the very top of the report is the Report Header. It contains a text box that displays the name of the report.

Figure 20.1. The report is divided into several areas in the Design view.

graphics/20fig01.gif

At the bottom of the report are two footers. The Page Footer contains formulas that display the current date and print the page number of the report. At the very bottom of the report is the Report Footer. The Report Footer is blank in Figure 20.1. It can be used, however, to insert a summary formula or other calculation that works with the data that appears in the Detail area (you will add a calculation to a report later in the lesson).

As already mentioned, the Report Design view is similar to Form Design view. The Report Design view also supplies the Toolbox, which is used to add text boxes and special controls to the report. The Field list allows you to add field controls to the report.

Caution

Using Special Controls on a Report Access enables you to place any type of control on a report, even command buttons or combo boxes. These won't do you much good on a report, however. It's better to stick to text boxes, labels, and graphics on reportsitems that enhance the overall look of the report when it is printed.



Team-Fly    
Top