3
Answers

Can Blank Spaces be removed

Photo of Ramco Ramco

Ramco Ramco

Mar 18
137
1

Hi

  I have below code . In Crystal Cross Tab report there are few gaps before every pahe. Is it possible that no blank spaces should be there when exported to Excel

Thanks

Answers (3)

0
Photo of Sangeetha S
260 7.4k 320.8k Mar 19

Yes, it is possible to eliminate blank spaces when exporting a Crystal Cross Tab report to Excel. Here are a few steps you can follow:

  1. Align Fields: Ensure all fields in the report are aligned properly. Misalignment can cause blank spaces to appear.
  2. Section Expert: Go to Report -> Section Expert, select the section where the blank spaces appear, and uncheck the 'Free-form Placement' checkbox
  3. Suppress Blank Sections: Use the Suppress Blank Section option in the Section Expert to prevent blank rows from being exporte
    .
  4. Export Options: Try exporting using the "Microsoft Excel Data-only" option, which strips out any formatting that might be causing the blank spaces
0
Photo of Muhammad Imran Ansari
243 7.8k 333.1k Mar 19

Hello Ramco,

Yes! In Crystal Reports, blank spaces or gaps in a Crosstab report when exported to Excel usually occur due to:

Possible Causes & Solutions:

1. Ensure "Can Grow" is Disabled

  • Right-click on the Crosstab field → Format Field → Uncheck "Can Grow"
  • This prevents row height from expanding inconsistently.

2. Suppress Unused Sections

  • Go to Section Expert (Report → Section Expert)
  • Check if there are extra sections like Report Header, Page Header, or Footers that are unnecessary
  • Set Suppress (No Drill-Down) where possible

3. Minimize Row and Column Padding

  • Click on the Crosstab report
  • Check the Format Grid settings and reduce row/column padding

4. Export Settings in Excel

When exporting, use:

  • Excel (Data Only) instead of "Excel 97-2003"
  • Set "Simplify page headers" to TRUE

5. Resize Crosstab Object Properly

Make sure the Crosstab object is not larger than needed, which can create artificial blank spaces.

Try these steps and let me know if you still see gaps in Excel!

Good Luck!

0
Photo of Emily Foster
704 1.2k 0 Mar 18

It seems like you are encountering some extra blank spaces in your Crystal Cross Tab report before each page when exported to Excel. Removing these blank spaces can help improve the clarity and presentation of your data.

One approach to address this issue is to check the formatting settings within the Crystal Cross Tab report. Look for any padding or margin settings that might be causing these extra spaces to appear. Adjusting these formatting settings can help eliminate the undesired blank spaces.

Additionally, when exporting to Excel, you can also ensure that you are using the appropriate export settings to maintain the layout and formatting of your report. Sometimes, choosing different export options or tweaking the export settings can make a difference in how the report appears in Excel.

If you have access to the underlying code or configuration of the report, you may also consider checking for any unnecessary white spaces in the code itself that could be causing this issue. Cleaning up the code by removing any extra spaces or line breaks can sometimes resolve such formatting issues.

In summary, by reviewing the formatting settings, optimizing the export settings, and double-checking the code for any unwanted spaces, you can work towards eliminating the blank spaces in your Crystal Cross Tab report when exported to Excel.