Jasper Report column break with group by - jasper-reports

I am creating a Jasper report using iReport 5.1.0 output to pdf.
I have made report based on group by clause.
The group starts from 1st page itself but I want that to start from 2nd page so that i can show, page header, footer and title(without any content but an empty frame). How to do that?
I used a column break but that skips detail band also so not working.
Also, please tell if and how to set background for report.

Regarding the breaks,
You need to use the Page Break instead of Column Break just before the Group header, so that every single group starts from the new page. And even the first page can be blank as per your requirement.
Or what can be a better option is ,
You can click on the Group header node in the Report Inspector and there you can see a property called Start on a new Pag**e so if you **check this property you can see that all your groups automatically start on a new page.
For setting the background of the report you can see the node called Background in the report inspector.
You can just navigate to that node give the height of the Background band and there you can add the image element from the palette and assign *the* image to be displayed in the background to the image element.
Hope that this helps
Thanks

Related

How to prevent image in Crystal Reports 10 from being cut off to the second page

I'm making a Crystal Reports template. The template has some text in the header and then it has an image. If the text has a few lines, the image is normal and allowed in the first page, but if the text has many lines the image will be cut off in the first page and second page. Could it have ways to prevent the image from being cut off to the second page, such as auto-rescaling the image size?
I tried can grow and other settings in Crystal Reports 10, but it didn't work.
Report Design Picture
Make sure Keep Object Together in the properties of the image is checked. This will prevent CR to split your image across pages.
Best option in this case would be Create another section and place the image in that section instead of text and image in same section, This will force the image to go to another page if it doens't fit in first page.
For E.g, if data in report header, create one more section Report Header a and place text in that section and Report Header b and place image in this section

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 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 (Visual Studio 2010) - please help with page template

We are trying to create Crystal Report but have a problem with page template creation.
Report looks like this:
It should be "stamp" in the right bottom corner of page. First page stamp looks little different from other pages stamp.
At the left part of page on the left margin two objects are placed. Both of them oriented vertically and should work as header and footer (should be shown on every page) but take more room than required for usual header and footer. In this case we can't use usual header and footer to place these objects.
Tables on pages should work as "background" because even 1 record on page should show 20-row table (with first row filled in this example)
It would be great if we have something like "left running title" but we can't see such feature in CR.
I attached couple images to show how the report should look (sorry, i can't post images here because have no enough reputation points):
First Page Second Page
Could you please say how such report template can be created? We have no skilled CR developer in our company and have no idea which way of report creation can be used :(
We also agree to use another report engine if it is free and can work with .NET applications
Thanks for help
Dmitry
You can use underlay property of the sections to get the desired result. You can use the page header and page footer for putting the details and for page-header, set the underlay property to TRUE and for the footer, set the property of the detail section (I presume, you have a single detail section in the report) to TRUE. This will make the details of the header and footer display beneath the detail section.

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.