Crystal reports related - crystal-reports

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.

Related

Display report header in every page of cross tab in Crystal report

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.

Crystal Reports blank page "standard" solution not working

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.

Crystal report - Watermark in subreport

I have a crystal report for an application form, which I have done by using an image as a water mark in the page header, and then have some fields to be overlayed in the details section by having the page header set to Underlay Following sections.
That all works nicely, but now I want to print another report with this: basically a cover letter which is the primary data set; which then calls my application form report as a sub report. However because subreports don't have page headers, I can't get the watermark and the fields to overlay with each other regardless of what keep togethor or underlay following sections I select on groupings.
Has anyone tried to do this before, and has been able to do it at all? I can't find anything.
OR has anyone created a watermark report, that then supresses the watermark for a subreport (basically reversing the logic above).
Thanks all.
If making a page header to underlay won't work, here's another option.
Make a top grouping that is the same for every record (e.g. the company the grand total of the report is for.) In Group Options, check the box for "Repeat Group Heading On Each Page." In Section Options, check "Underlay Following Sections."
Now, whatever you put in that header will be repeated on every page and everything else will go over it.

Crystal Reports: Keeping details sections as a whole

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.

Adding a terms and conditions page to a Crystal Reports report

In Visual Studio 2005 Crystal Reports we have a simple report to the back side of this report. I need to add our terms and conditions page.
How to insert or add a second report?
Or
I need to mention our terms and conditions page on back side of main report.
How can I add this functionality?
If I understand correctly that you have one detail per page, which is displayed in the Page Header, and you have nothing in the Details section, you could do the following:
In the Detail section, insert a second Detail second so that you'll have Detail A and Detail B. Leave Detail A blank. Put the Terms & Conditions image into Detail B, go to Format Section for Detail B, and check New Page Before. The reasons for the two detail sections is sometimes CR doesn't respect New Page Before in a single Detail section.
Now, go to Format Section, and for the Page Header enter the following formula in the Suppress (No Drill-Down) formula editor:
PageNumber mod 2 = 0
You will now have one record printed in the page header, then a page with the watermark, then another page with a record in the page header, then a page with the watermark, etc.
You'll just need to make sure when printing to use full duplexing.