Crystal reports lines not showing - crystal-reports

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!

Related

How to move up 2nd page margin to top in Crystal Report Cross tab

I build report by using cross tab in crystal report in the first page i have title page that take area about 1/4 of the page consist with logo and report name and filter detail So on the second page it shown up the same position as the first page something that I want is to remove the report header section and move up the page header section and detail section to top on the 2nd page Thanks you for answer and i want to know Is this need to do ?? because some aspect of user tell that Its' okay don't move 2nd page up its should be like this same position same line its easy to read and compare the pages some aspect think that it's lost the area of the head of page 2 it's useless what should I do from here
To cojimarmiami,
i tried your suggestion formula but it' doesn't work when i preview it show just a page in horizantal by the vertical space separate it for 2 Block (not page) and when i printed its' come out 2 pages in A4 paper What should i do for the next step Thank you
you will have to place your logo, report name and filter on Page Header, then go to that Section Expert and place this formula on Suppress pagenumber <> 1. That is going to suppress that section if your are not on the first page.

Show footer on last page only

I want to add footer on my report, but only on the last page. I followed this tutorial which was successful, but it leaves space for the footer on all pages.
How can I get rid off that space for the footer on all pages except the last one?
I can only think of the following solution for your problem:
First - don't use the build in Footer. Instead, use a sub-report that will contain your footer details.
Now, you need to define the sub-report as thin as possible in the main report (while in the actual sub-report - arrange your data as you want).
Then just implement the same concept as described in the link that you provided - means that you need to define an expression in the sub-report visibility filed.
attaching a demonstration that explaining the 'using sub-report' idea:
EDIT
I did some research - If you follows the instructions provided by the link in your question but Strech the rectangle to cover all the footer area, then your are good - the footer will not be displayed until the last page:
This how I arranged the Rectangle over the footer:
Middle Page (you can see that the footer's rectangle is hidden:
Last Page (footer is visible):

Sub-reports overlapping "Last Page Footer" band

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.

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.

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.