English 中文(简体)
履历
原标题:Crystal Reports - repeat page header when data changes

I have a report that is pretty complex, with multiple sub-reports for each item selected. I want a main header for each item, and then a page header for that item at the top of each page. If I only select one item it looks great. If I have multiple items, that main page header only shows once.

main header
page header item 1
details

page header item 1
details

page header item 1
details

main header
page header item 2
details

page header item 2
details

我如何设计该项目,以便项目2的主要负责人能够显示情况?

详细情况是一系列集团负责人(我继承了本报告)。 现在,除了主要负责人一劳永逸地表明这一点外,它只是我所希望的。 在报告标题一节中,页头是“页头”部分,所有报告(可跨多页)的其余部分都列在各组长的章节。

edit: I can put both the main header and the page header in a Page Header a and Page Header b section, with the item id in both. Now, if I can suppress Page Header a if item id is duplicated, it should print it only with a new item id, and the page header b will still print at the top of each page.

最佳回答

Since a report only has one "Report Header", you ll have to organize your groups in a way that "main header" is a top level group, "page header" is a sub group, and finally details is below that.

如果你这样做,你可以点击。 Paging tab in section expert, 并点击 New pp before/strong> Options,以便使网页与你预期的相距。

Edit: Under menu Report, Group Export, in the Group By, there is an Options button, and then an Options tab. That is where the Repeat Group Header on Each Page option is. Then, back in the Section Expert for the Main Header Group, in the Suppress function, put InRepeatedGroupHeader. That way, the Main Header (GroupHeader#1a) is suppressed except for the first page for each item, and the Page Header (GroupHeader#1b) shows at the top of each page.

问题回答

IN the grouping there are two Headers i.e. 1- Report Header (a, b, c etc) and 2- Page Header. Place the Fields (column names) in the Report Header and also the Same Fields (columns Names) in the Page Header. Then in the Group Expert , Check the Radio Button in the Group Option to : "Repeat the Group Header on Each Page". The Report Header fields will be displayed on the first Page and Page Header will be displayed on the rest of Pages.

∗∗∗∗∗∗∗∗

What you need to do is setup your details section for multiple columns.

Place the database field(s) in the details section as normal. In Format Section dialog, click on Details and an option appears at the bottom called "Format with Multiple Columns". Once you check this option a new tab called Layout will appear. Use this tab to setup your multi-column page.

When you click OK, Crystal will duplicate your details section to the right X number of times, depending on the width you have chosen. Reply With Quote Reply With Quote





相关问题
1099r IRS form instal Report

我们需要从申请中产生1099r份IRS报告,我们已决定用晶报告编写这份报告。 很奇怪的是,任何人都这样做了,如果是,可以......

How to split a Crystal Reports subreport across a page break?

I m using Visual Studio 2005 and writing in VB.NET. I have a subreport in a Crystal Reports report consisting of a list of log entries. Sometimes the list of log entries is long enough that it would ...

Adding Crystal Reports support into LAMP product

We have a newly documented feature request, from sales and support, to integrate Crystal Reports into our LAMP product. (It s more like LAPP, really, with Postgres and PHP.) I have to admit, ...

Crystal Report value Convertion?

i have to crystal report made from Dataset,and we have to one formula field i wrote Add() but that formula field show cancatination like 10+20=1020 i realize they need to convert that field in sight ...

How to Hyperlink to a Business Objects Report in Infoview

Is there a way to craft a hyperlink that connects to a Crystal Report or Webi within Infoview? Ideally, unauthenticated users would be challenged with Infoview security and then redirected to the ...

Crystal Report XI trouble with big XML data file

I have a big xml file (65 Mo) that I need to feed to a Crystal Report XI. My problem is that I tried running the report and it takes forever to display a single page (about 15 minutes a page). I still ...

Transferring Crystal report

I have created a crystal report in VS 2005 using the wizard. In the report I have created an OLE DB connection to a server which has a database student . Now I need to run this report on another ...