SAP Knowledge Base Article - Public

1662504 - "Suppress Blank Section" does not suppress Crystal Report sections without objects

Symptom

"Suppress Blank Section" does not suppress Report sections which are are without Objects.

Environment

  • Crystal Reports 2008
  • Crystal Reports XIR2

Reproducing the Issue

  1. Create a Crystal Report inserting one field in the "Report Header" section.
  2. Refresh the report.
  3. Right click > "Section Expert" > check "Suppress Blank Section" checkbox for Page Header > Click on "OK" > Refresh the report.
  4. Page Header Section which is suppressed is still visible in the report.

Cause

This is the default behavior of the product. The option "Suppress Blank Section" only applies to the sections that have one or more report objects in them. Empty sections are always blank and can be unconditionally suppressed.

For example, a section is blank if it contains nothing but suppressed objects and database fields with null values. In order for a section to be considered blank, it has to have at least one report object in it. If the section is completely empty, the "Suppress Blank Section" option has no effect.

Resolution

Workaround:

  1. Insert a field in the Page Header section of the report > Right click on the Inserted field > click on the "Common" tab > Check the "Suppress" checkbox.
  2. Right Click > "Section Expert" > check the "Suppress Blank Section" checkbox for Page Header section > click on "OK".
  3. "Page Header" section gets suppressed successfully.

Keywords

Suppress Blank section, Crystal Report, not suppress , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

Crystal Reports 2008 V0 ; Crystal Reports 2008 V1 ; SAP Crystal Reports XI R2