Hide Header Section After Last Record

2019-08-03 18:57发布

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?

0条回答
登录 后发表回答