Sub-reports overlapping "Last Page Footer" band - jasper-reports

I have tried every combination of band configuration and layouts.
I have a master report and (currently) 2 subreports. The printout is a workorder and each work order must have X number of repair items and Y number of detailed parts used to repair the component. Sometimes there are only a few of each other times there are over 50 each.
Header of the report looks great. I have two bands where I place my subreports. Originally I had them both in the same band and specified the second subreport as "float" which resulted in the same effect as having each in separate bands.
The subreports display fine however on occasion the parts list will overlap the details I have specified in Last Page Footer band. This does not appear to happen when I place the labels in the Summary band however these labels are mostly boxes for signatures so alignment with the bottom of the page is required and summary seems to add labels and such at end of content.
Resizing the bands the subreports are in seems to work - kinda. However I need both subreports to start immediately after each other. So resizing bands isn't an option otherwise there is a bunch of white space between them and single page printing when only a few parts and repairs are selected does not happen.
Anyone have any ideas? Wisdom to share? Experience? This reminds me of working in HTML and sticky footers ugh :)

I know the question it's quite old, but since I had this problem and I already found the solution, I'll post it for someone that may need it in the future.
In my case, the problem was that I had the Summary With page Header and Footer checkbox selected. Once I put it to false, it worked like a charm.

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.

Crystal reports lines not showing

I have a crystal report for an invoice that is formatted with some horizontal and vertical lines. The vertical lines cut across a number of group and detail sections. Crystal reports is version 13, and I am using it in the designer in Visual Studio 2013.
I have two problems
1) The vertical lines only extend to the beginning of the first detail section on the first page. On subsequent pages they display all the way down the screen.
2) For the second and last row of one of my groups, the vertical lines don't display at all.
I have tried removing the lines and re-adding them, and this has made no difference. I have also tried changing ExtendToBottomOfSection to true for the lines, but this doesn't seem to make any difference. Any other suggestions?
The key thing with lines and boxes in Crystal Reports is the section/area they start in and the section/area they end in. These areas always go in a specific order: Report Header, Page Header, Group Headers, Details, Group Footers, Report Footer, Page Footer.
Depending on the height of the areas, some sections may be bumped to the next page. Most issues I see with lines and boxes are due to them not starting/ending in the right section to give the desired effect on every page, even pages where some sections may be omitted.
If you want lines to span the whole page, they should start at the top of the Page Header area and end in the bottom of the Page Footer.
What I think you're looking for is a slight variation on this (I'm guessing based on your problem description): to run the line down the entire page, but not actually have it appear in the page header/footer. In this case, you will want the line to start at the bottom of the page header, and end at the top of the page footer. This will give the effect of the line covering the page (but not the header/footer), regardless of how many records appear on the page.
These properties are easiest to control from Design view (where it's easier to distinguish section boundaries), or from the properties dialog (where you can make the top/bottom values exact).
Hope this helps!

crystal report grand total doesn't show in report footer

I'm working on a report. The sections look like the following:
Report Header
Page Header
PH1
PH2
Group Header1
Group Header2
Details
Group Footer2
Group Footer1
Page Footer
Report Footer
I have a couple of questions here:
On the first page, there are two complete group1(group-a, group-b), and part of the data from next group (group c). The vertical lines stop at the end of group-b. Group-a and group-b have grid but group-c has no grid at all. But all vertical lines look fine on the following pages.
I created a few summary objects under report footer, but nothing shows up, not even the text object I put there for testing. I've played around with the section export, but so far, no luck.
Please help me with the questions, thanks a lot. :)
As for line issue, one solution is to create separate line segments for each section. They need to be carefully positioned to line up vertically and sized to span the exact height. Use the editor dialog because mouse positioning just won't work right.
In old versions of Crystal there must have been a lot bugs because I could crash the app dozens of time before getting it right. Eventually I figured out how to avoid the crashes pretty well but I can't remember the details now. It's a big hassle all the way around.
Diagnosing the other issue is probably easier with a view of the designer.
Which version of Crystal? Is there a page break before the report footer?
I know you already tried the text object, but try adding a background color to the report footer to confirm that it's present in the output.

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.

How do I build a crystal report from the bottom of the page, up? (Whitespace before the data)

I would like to build a report that starts at the bottom of a page and grows upwards instead of a report that starts at the top of the page and grows downwards. How could I do this?
--Edit--
For clarification, below is an image depicting the way I need to construct the report.
Basically, I'm looking for a way to have the whitespace at the top of the page and the data at the bottom of the page, instead of the more traditional look of data at the top of the page and whitespace at the bottom of the page.
Without knowing much about what the request is, I don't believe there is a way for the report to run from the bottom up, but you could possibly do a couple things to fake the system out.
For example you can do something like in the following link to put your summaries in the header:
Crystal Reports: global variable running total not displaying in header
Then you can play with the sorting of the details if you need the rows to go in decending order.
Hope this helps.
[EDIT] I see you updated your question so I'll add an update to my answer.
One more thing you can try out is to play around with the Print at the Bottom of the Page and Keep Together properties of the sections. I haven't tried this, but one thing you may be able to do is put the section at the bottom of the page and perhaps find a way to have the section grow from there. You will have an issue if the page goes to another page and though it seems possible in my head that the section could grow while being placed at the bottom of the page I haven't tried it so it might not work. I am just throwing it out there for one more thing you can try. Hope this helps.
You could try:
Create an empty report with your headers and related text
Put a subreport displaying your data in the report footer and set the sort order for the subreport query to descending.
In the report footer properties, select Print at bottom of page
I tried it with some sample data and it works, but I'm not sure what will happen if your data goes to two pages.