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.
Related
I have seen many sites but couldn’t find the proper answer. I want content in report header but instead of keeping content in details section my requirement is to keep in the report footer. When I inserted a subreport in footer a and another in report b they are showing up on different pages.how can I make them appear on the single page?
Thanks in advance,
RAM
If I understand the question correctly, you have a Report Footer that has been created with 2 sub-sections that are each printing on separate pages. If this is the case, then you can go into Section Expert and select the top level Report Footer section (the one that contains the Report Footer A and Report Footer B sub-sections) and then check the checkbox for Keep Together. This will ensure that all of the sub-sections within the Report Footer are printed on the same page together.
Keep in mind that things can still be pushed to a second page depending upon how you design the report. But as long as the content will all fit on one page the Keep Together property should get the job done well enough.
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.
Having an annoying problem with a report. It's a fairly simple report with 1 group and multiple detail sections (each detail section contains a subreport).
Sometimes the data makes the groupfooter start just on the next page, printing an empty page with just the groupheader and pagefooter.
The "standard" solution of adding Not OnLastRecord formula in the groupfooters New Page After option doesn't work.
I've been trying with Suppress, Hide, Keep Together options all over the report, but nothing seems to work.
Anybody have other suggestions?
I'm using Crystal Report in Visual Studio (not the stand alone)
What is the result you want to achieve?
The content doesn't fit the page, I suppose.
GroupHeader + Content + GroupFooter can't be printed in a single page, so there's a page with just GroupHeader or one with GroupFooter only.
If you want to divide subreport between pages
I suppose that you have to look at Details Section, removing Keep Together clause to Details, to SubReport and inside SubReport so that details section will be divided, if possible, in the page with GroupHeader and in the page with GroupFooter
If you want GroupHeader and GroupFooter to be printed on any page, also if Subereport doesn't fit
GroupHeader can be repeated on every page ("repeat group footer on each page" in Group Expert), GroupFooter can't.. someone suggest to use Page Footer instead.
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
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.