简体   繁体   中英

Crystal Reports blank page “standard” solution not working

Having an annoying problem with a report. It's a fairly simple report with 1 group and multiple detail sections (each detail section contains a subreport). Sometimes the data makes the groupfooter start just on the next page, printing an empty page with just the groupheader and pagefooter. The "standard" solution of adding Not OnLastRecord formula in the groupfooters New Page After option doesn't work. I've been trying with Suppress, Hide, Keep Together options all over the report, but nothing seems to work. Anybody have other suggestions?

I'm using Crystal Report in Visual Studio (not the stand alone)

What is the result you want to achieve?
The content doesn't fit the page, I suppose.
GroupHeader + Content + GroupFooter can't be printed in a single page, so there's a page with just GroupHeader or one with GroupFooter only.

If you want to divide subreport between pages
I suppose that you have to look at Details Section, removing Keep Together clause to Details, to SubReport and inside SubReport so that details section will be divided, if possible, in the page with GroupHeader and in the page with GroupFooter

If you want GroupHeader and GroupFooter to be printed on any page, also if Subereport doesn't fit
GroupHeader can be repeated on every page ("repeat group footer on each page" in Group Expert), GroupFooter can't.. someone suggest to use Page Footer instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM