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

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.

Related

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

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.

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.

SSRS How to add a tablix footer group

SSRS Newbie and feeling a bit silly.
Im working on my first report(in VS 2008) and cant seem to work out the group footer for my tablix. This must sound really simple but how do I add it and configure it to show on every page of my report? I have the group header working fine but I want the overall totals to display at the bottom of each page in my report. Every tutorial/website I check doesnt really seem to explain it very well
Any ideas?
Thanks
If you add a footer, it will appear on every page by default. There are two properties that can remove the footer from the First and/or Last page of the report. However, by default, the footer is active on all pages of a report.
So basically, if you add data to the footer, it should work.

Crystal Report - Last Page is blank

I have a crystal report which when generated has a last page that is blank except for the page footer (which indicates the current page, as well as the report title).
This only occurs when the data displayed on the second last page completely fills the page.
Would anyone have any ideas as to why this might be?
When you check the checkbox New Page After, you will see an icon just right to it. This icon represents Formula Workshop. Click this icon and type NOT OnLastRecord.
Save and close the window, you are good to test this and praise me for the rest of your lives :)
Instead of using the checkbox on the group footer, use a formula.
The one that I use is
not(OnLastRecord)
You have some (almost) empty group footer, which doesn't fit onto last (non-empty) page.
You have to set "New page after" option to some inner group footer section.
I know that this is an old question, but I just had a similar problem.
In my case the last page was printing the Page header and nothing else.
It turns out that the fix for me was to Right Click on the Report Footer (Which had no contents) and choose Hide.
So it was basically putting in a blank report footer and including the page header with it...
Hope this helps...
+1 to Arvo because what he said is probably the case. I'll expand on it a little.
More than likely you have a section that will not totally fit on the second to last page so it spills over to a new page.
Some options you may be able to use are in the section expert are "Keep Together" which keeps all the lines of the section together, either on the current page (if there is room) or on the next (if not), or the "Suppress Blank Section". You could also try to shrink the height of the section, but this will probably not work in all cases.
As Arvo also said, make sure that you do not have the "New Page After" flag set for any of the sections as this could cause it as well.
I was in the same situation and a good solution is to control the "New Page After" (in my case in the group footer) by a simple sentence, only doing it, when the current page is not the last.
With the option "New Page After" unchecked put a formula on it, clicking it's right formula button.
Code:
if(PageNumber = TotalPageCount) Then
True
else
False;
Saves a lot of troubles.
Greetings.
P.D. It's Crystal Syntax.
Evaluate if you need a report footer. If don't, be sure supress this section on report.
In addition, to checking what other have mentioned above, after creating a new Blank Report, under Page Setup, the paper size for me was A4 by default. When I changed it to Letter, I would get a second blank page in the Print Preview as well as when physically printing to letter paper. Presumably this is due to going over the page boundaries. I was able to reduce the magins, and make the report content fit on the page.
Or being on “Design” tab, under “Report Header” right click and select “Fit Section”
In my case, it was an image outside the paper design, i just align it and scaled it to fit my paper.
For some this might happen when there is an unused section like report footer. Suppress the section, it will be resolved.