Crystal reports suppressed section still leaves blank spot

I have a Section that only contains a SubReport.

I have a formula on "suppress (no drill down)" that hides the subreport. This works. However it leaves a big blank white space where the subreport would have been if it was visible.

I have ticked "Suppress Blank Section" and unticked "Keep Together" on the surrounding sections without any effect. How do I change it so my hidden/suppressed section does not display any empty white-space?

I am using Crystal Reports 11.

UPDATE It may not be the blank sections causing the issue, could it be the 2nd sub report which I do want to show is 2 big to fit on the first page so just starts on the 2nd page. I have unticked "New Page Before" and "Keep Togeather" for it


OK, I sorted it out.

The problem was the next subreport / section I wanted to show was too long to fit on the first page so was starting on a new page each time.

To fix I had to right click the subreport click "format subreport" then click the subreport tab, then untick "Keep Object Togeather"


You will have suppress blank section in the sub report as well. Try checking this suppress blank section in all the sections of the subreport. It should work for you


Use same or similar formula (which you use for subreport hiding) for main report section supressing too. "Supress blank section" doesn't work well with subreports.

链接地址: http://www.djcxy.com/p/52774.html

上一篇: 为什么Boolean.ToString输出“True”而不是“true”

下一篇: 水晶报告抑制部分仍然留下空白