Using Multiple Report Sections

Troubleshooting

graphics/troubleshooting_icon.jpg

Report Section Formatting

I keep getting blank spaces in report sections, and I need a quick way of removing them.

To quickly remove blank spaces within report sections and tighten up the alignment of the objects positioned within the sections, use the Fit Section command available from the right-click menu of each report section.

Crystal Reports in the Real WorldAdvanced Formatting

Often, a report section needs to be more than simply one color or another. A report with many rows might need some color to help guide the readers eye and make each line distinctly separate from the next. In the following sample, the report Chap7AdvFormat.rpt created earlier is modified to improve readability:

  1. Open the Chap7AdvFormat.rpt report.
     
  2. From the Report menu, select Section Expert. When the Section Expert dialog window opens, select the Details section and click the Color tab.
     
  3. As previously described, checking the Background Color box enables you to set all the Detail lines to a single color. The intent here is to highlight the detail lines so they appear distinctly different from the detail line above and below to improve readability. Click the x+2 button and enter the following text into the code window:
     

    
     
     
    
    If Remainder(RecordNumber,2)=1 Then
    
     crAqua
    
    Else
    
     DefaultAttribute;
    
    
     
  4. Finally, go back to the Section Expert. Select Group Footer from the list of sections and check the box labeled New Page After.
     
  5. Now, each group starts on a new page, and long groups have detail lines defined by color. The color improvement can be seen on page 3 of the report.
     

    Figure 7.13. Records are delimited by color for improved readability.

    graphics/07fig13.jpg  
  6. Save the report as Chap7AdvFormatPaginated.rpt.
     

Part I. Crystal Reports Design

Creating and Designing Basic Reports

Selecting and Grouping Data

Filtering, Sorting, and Summarizing Data

Understanding and Implementing Formulas

Implementing Parameters for Dynamic Reporting

Part II. Formatting Crystal Reports

Fundamentals of Report Formatting

Working with Report Sections

Visualizing Your Data with Charts and Maps

Custom Formatting Techniques

Part III. Advanced Crystal Reports Design

Using Cross-Tabs for Summarized Reporting

Using Record Selections and Alerts for Interactive Reporting

Using Subreports and Multi-Pass Reporting

Using Formulas and Custom Functions

Designing Effective Report Templates

Additional Data Sources for Crystal Reports

Multidimensional Reporting Against OLAP Data with Crystal Reports

Part IV. Enterprise Report Design Analytic, Web-based, and Excel Report Design

Introduction to Crystal Repository

Crystal Reports Semantic Layer Business Views

Creating Crystal Analysis Reports

Advanced Crystal Analysis Report Design

Ad-Hoc Application and Excel Plug-in for Ad-Hoc and Analytic Reporting

Part V. Web Report Distribution Using Crystal Enterprise

Introduction to Crystal Enterprise

Using Crystal Enterprise with Web Desktop

Crystal Enterprise Architecture

Planning Considerations When Deploying Crystal Enterprise

Deploying Crystal Enterprise in a Complex Network Environment

Administering and Configuring Crystal Enterprise

Part VI. Customized Report Distribution Using Crystal Reports Components

Java Reporting Components

Crystal Reports .NET Components

COM Reporting Components

Part VII. Customized Report Distribution Using Crystal Enterprise Embedded Edition

Introduction to Crystal Enterprise Embedded Edition

Crystal Enterprise Viewing Reports

Crystal Enterprise Embedded Report Modification and Creation

Part VIII. Customized Report Distribution Using Crystal Enterprise Professional

Introduction to the Crystal Enterprise Professional Object Model

Creating Enterprise Reports Applications with Crystal Enterprise Part I

Creating Enterprise Reporting Applications with Crystal Enterprise Part II

Appendix A. Using Sql Queries In Crystal Reports

Creating Enterprise Reporting Applications with Crystal Enterprise Part II



Special Edition Using Crystal Reports 10
Special Edition Using Crystal Reports 10
ISBN: 0789731134
EAN: 2147483647
Year: 2003
Pages: 341

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net