开发者

Crystal Reports - No data in page header if detail is blank

开发者 https://www.devze.com 2023-03-12 16:02 出处:网络
Crystal Reports XI Have a report with a page header containing data from a table, detail section which can contain a varying number of records, and a report footer containing a total from the detail

Crystal Reports XI

Have a report with a page header containing data from a table, detail section which can contain a varying number of records, and a report footer containing a total from the detail section.

The problem I'm having is if the last page does not contain any detail records, none of t开发者_StackOverflow社区he data fields in the page header are populated, only the text items appear in the page header, and the report footer appears properly populated.

Any hints on how I can populate the header on the last (total) page of the report if the detail section is blank?

Thanks.


You can only do it with a sub-report if the detail section is blank.

Each section of a Crystal template has a specific job/purpose.

  • Report Header - Once per report and on FIRST record
  • Page Header - Once per page
  • Details - Once per record
  • Page Footer - Once per page
  • Report Footer - Once per report and on LAST record

If you have no records (no Details), you will have no records or data in Report Footer. It's all a matter of the data you are working with. I'm not real sure how you have data in the Report Header unless it's a sub-report.

0

精彩评论

暂无评论...
验证码 换一张
取 消