Display report header in every page of cross tab i

2019-09-02 17:55发布

问题:

I want to display report header in every page of my cross tab report in Crystal Reports 13. Currently the header only appears on the first page. How can I fix this problem? Kindly suggest me.

Check bellow screen shot

Page 1:

Page 2:

Design View:

回答1:

Right click on the selected fields in report header and go to format and check option Repeat on Horizontal Pages so that it applies for every page



回答2:

Finally I solved the problem to display header for cross tab report in each page.

1.Create a formula using bellow code

WhileReadingRecords;

""

2.Create a Group Field using that formula field (which is empty group)

3.Crete Cross Tab Report inside of group header section.

4.Finally place my report header inside of page header section.

Now its working according to my demand and display report header every page

Thanks all of you

Check bellow screen shot



回答3:

You have to do following things:

  1. right-clicking on the row header
  2. select Row options
  3. select Repeat Labels on Page break

Crystal Reports lets you designate report objects that don't expand horizontally, such as text objects, field objects, OLE objects, charts, maps, lines, boxes, and so on, to be repeated on each additional horizontal page that a Cross-Tab creates.

Check this for help.

Also, similar question How to repeat Crystal Report Header on each page answered by me here. If you still after this links don't get solution, feel free to ask so we go into details of your cross-tab etc...



回答4:

There are two kinds of headers in Crystal Reports. There are Report Headers (which you're currently using) and there are Page Headers (which are what you want to use in this case.)

  • A Report Header will only display once - on the first page.

  • A Page Header will appear on every page. (Unless you specifically tell it not to.)

Move the circled fields into a Page Header and suppress the old Report Header you were using before. If all goes well, you'll see the circled field on every page going forward.



回答5:

One other possible approach would be to insert a separate section above each crosstab that will contain your repeating Page Header. (Section Expert -> Insert) or (Right click Section -> Insert Section Below)

Then for the aforementioned inserted section, force a page break before. (Section Expert -> New Page Before)

Repeat this step for each Report Header section that contains a crosstab. The downside is that you will have many pages depending on the number of crosstabs in your report. Hope it helps.