Hide Header Section After Last Record

时光毁灭记忆、已成空白 提交于 2019-12-24 08:28:13

问题


I have a crystal report, whenever I reach the last record, it will print another extra page together with the header. see the attachment below: this is extra page, always appear together with the header section after last record

I applied formula to the Detail Section and Header Section at the supress.

Detail Section: WhilePrintingRecords; Global BooleanVar finished; finished := OnLastRecord

Header Section:

Global BooleanVar finished

It seems working for the layout, but when the extra page is not printed, 1) my last record is not appear (let say i have 51 records, only 50 records is printed) First Problem after applying formula

2) If I have only one record, the next page still appear

Is there any correction can be apply on my formula, or im applying a wrong formula for it?

来源:https://stackoverflow.com/questions/43863804/hide-header-section-after-last-record

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!