How to insure there is no pagebreak between detail sections of a crystal report? - crystal-reports

In my Crystal Report I have four detail sections. I want this section stay on one page together. For example if there is not enough space for all SECTIONS on one page, then all four sections should go to the next page.

You will need at least one level of grouping on your data for this to work, but begin in the design tab of your report and right click on the group name and select "Change Group" from the menu. Then go to the Options tab and check the check box for Keep Group Together.
This will keep all sections of the group and the details sections within together on a page. If they don't fit, the whole group will begin on a new page and will only push data into a second page if the entire group and all of its contained sections do not fit on one page together.

You can activate this functionality in the Section Expert you select on the left the Menu Details and then you have to check the option on the right keep together.

Related

Crystal reports 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.

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: Cannot show page footer when using Fortmat with multiple columns in some pages

I am using Format with multiple columns and expand layout width for Detail section to show many columns. And when my report show data in the expand detail section, it do not show page footer.
Could you please help me fix it?
Please following this for more detail
Your report setup is quite strange. Why don't you move your PO and Customer Name field next to ship date and get rid of the excess page? You can also delete your Page Header B, Group Header B and Details B since there is nothing in them. But if you have to keep the current layout, in order to see the footer on the other page you will have to add it to the other page, just like the Group Header above.

Crystal report: keep group header and details on the same page

I've got group: header and details section in subreport. The problem is: when the group is in the bottom of the page it make the gap - header is in the one page and deteis are in the next one. How to keep together both sections?
I've tried following:
Group Expert->Options-> Keep Group Together
It doesn't help.
And in this link, method two.
http://www.microassist.com/tips/crystal-reports-prevent-orphaned-group-header
But it doesn't help too.
Thank you for help.
This link that you posted helped me.
http://www.microassist.com/tips/crystal-reports-prevent-orphaned-group-header
Right click the group you don't want to be orphaned and choose change group then a small pop-up window opens, click options then check the Keep Group Together checkbox.
GoodLuck!
In the main right, right click on the subreport there is an option called Keep Together. This will ensure that the whole of subreport will be printed as a whole
The section export will not do what you are trying to do. Keep a group and detail together. Section export will allow you to keep detail together if you select that on the main and sub detail bands. To keep group together as well as print header on each new page you want to go to Report->Group Export. Right click the group and select options. On options tab select Keep Group 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.