Crystal Report - Last Page is blank

2019-03-18 00:01发布

I have a crystal report which when generated has a last page that is blank except for the page footer (which indicates the current page, as well as the report title).

This only occurs when the data displayed on the second last page completely fills the page.

Would anyone have any ideas as to why this might be?

11条回答
做自己的国王
2楼-- · 2019-03-18 00:59

In my case, it was an image outside the paper design, i just align it and scaled it to fit my paper.

查看更多
forever°为你锁心
3楼-- · 2019-03-18 01:03

Instead of using the checkbox on the group footer, use a formula.

The one that I use is

not(OnLastRecord)
查看更多
劫难
4楼-- · 2019-03-18 01:03

Evaluate if you need a report footer. If don't, be sure supress this section on report.

查看更多
够拽才男人
5楼-- · 2019-03-18 01:05

+1 to Arvo because what he said is probably the case. I'll expand on it a little.

More than likely you have a section that will not totally fit on the second to last page so it spills over to a new page.

Some options you may be able to use are in the section expert are "Keep Together" which keeps all the lines of the section together, either on the current page (if there is room) or on the next (if not), or the "Suppress Blank Section". You could also try to shrink the height of the section, but this will probably not work in all cases.

As Arvo also said, make sure that you do not have the "New Page After" flag set for any of the sections as this could cause it as well.

查看更多
Bombasti
6楼-- · 2019-03-18 01:06

You have some (almost) empty group footer, which doesn't fit onto last (non-empty) page.

You have to set "New page after" option to some inner group footer section.

查看更多
登录 后发表回答