Perhaps you can help me with a problem I am having with Crystal Reports. I have a sub-report that has its own set a page headers. These are distinct from the page headers of the main report.
The heading show up when I run the sub-report by itself but when I run the main report, the heading portion of the sub-report is suppressed, only the detail lines show.
I cannot solve this by moving the heading to the main report because the sub-report is used in all three of my reports. In two of the reports I have two distinct detail sections.
I also tried to create group headers for the sub-reports. These are also suppressed in the main report.
Any help will be appreciated, I have been struggling with this problem for several day.
You can create additional page header sections and suppress them conditionally
Open the section expert within Crystal Reports whilst looking at the subreport
select the report header section
check that the "common" options does not have a tick next to hide, suppress
save the report and test
Related
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:
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
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
You have to do following things:
right-clicking on the row header
select Row options
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...
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.
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.
Can someone PLEASE give me a clear instruction on how to supress the header (from the main report) on the Sub Report? I would greatly appreciate it! I am using Crystal Report 9. I only need to know how to supress the header on Subreport which is comming from the Main Report. I need the header to stay on the main report but I just dont want it to be there in the subreport when it shows up.
I have a subreport which is multiple pages long, but I'm not sure where to put it in the report.
If I put it in a detail section, the report runs for a long time and generates way too much data.
If I put it in the report header, the page footer is not displayed during the subreport and there are about 150 blank pages (well, blank except for the page footer) after the subreport.
Right now, the report consists only of a report header, a page footer and the subreport (which is in the report header), but I will eventually be adding another subreport. The reason I need to use subreports is because I need to have two groups.
Thanks.
I'm having a little layout problem here.
I'm developing a few Crystal reports, some of them tend to get pretty extensive concerning tables and such so they are divided into subreports. These subreports then get loaded onto the main report with a titel firld above it.
The issue I'm currently having is keeping the subreport and the subreport together. Often, te title of the details section is placed at the bottom of 1 page and the subreport on the next page. This isn't very nice-looking....
Yup, it's pretty simple:
In Section Expert, select the Detail section.
If there are multiple detail sections, you must select the outermost Detail section which contains the others.
Select Keep Together.
Let's say I have a logo that I want to appear in the same place on a set of reports (many files). Is there a way for me to put that logo into the equivalent of a master page and apply that master page to all the pages of my reports? I'd like the logo to appear in the same place on a variety of documents without having to mess around with copypasta.
Using CR 9.2 (ouch, call the archeology dept eh?).
The easiest way to do this is to add a new header or footer section that includes your logo.
In Crystal 2008 (sorry, it's all I have) this is done by right clicking on any of the header/footer sections (e.g. Report header, page header, group footer, etc.) and then selecting "Insert Section Below".
This gets you a new section that will repeat at the top or bottom of every new section/page. Any logos pasted into a page header will be reused for each page.
Note that you can have as many "page header" sections as you want if you find it helpful to split up the header into multiple vertically stacked sections.
Years ago they used to have an page header and page footer. Not sure about the current version of Crystal Reports.
you can create a report as [MasterReport] with the logo in any where of it then you should insert a subreport into it. MasterReport equivalent of the master page and the subreport is like the placeHolders in asp.net and you can create this subreport like a dynamic report.
When you add a subreport to a report, crystal reporter creates a copy of subreport and save it into main report so you can not change the subreport by code at run time.