I am trying to set up a report to print an invoice with the company details as part of the PAGE footer.
I have also set up a terms and conditions section which I want printed after everything else and so have set it up as a REPORT footer.
This T & C page should NOT include the company information footer and should print on a SINGLE page.
I have set up a formula to suppress the page footer if the T&C's have been printed. This works and on other reports I have set up similarly, it does not push part of the T&C's on to a second page.
The problem I am having is that for this particular report the company information footer is several lines as opposed to a single line (as with the others) and so even though I suppress the footer on the T&C's Page, it still reserves that extra space where the footer would have gone and so pushes the end few lines of the T&C's to an additional page.
This probably happened before as well, but as the footers before had been a single line instead, there was still enough space to print the full T&C's on the page even after reserving the space for the footer.
Is there any way for me to suppress the footer without the space being reserved, or is even putting the suppressed footer in the 'background' so the rest of the T&C's can just print in front?
The client have specified a required font size and styling for the report so I cannot just reduce the size of the footer and/or the T&C's to solve the problem.
Right click on the section >> Section Expert >> check Suppress Blank Section, so if the section blank it will be suppressed and removing the footer extra empty space.
Related
I've made a new crystal report.
I have some terms and conditions and a place for signature on my report footer. I have managed to suppress my report footer to only show on last page, I have used this within Section Expert
TotalPageCount <> Pagenumber
It works well and only shows on last page however on all other pages other than last I now have a lot of blank space that I could re-utilize and in effect cut number of report pages. Can someone recommend a setting that I might be missing or piece of code to do that please.
Adding image for reference :
I have a report like this:
Page Footer b is just shown in last page;
And the generated report is like this:
Can I supress the blank space between detail section and report footer?
I need the report footer a in all pages.
Page Footer Section/Subsection will always print at the bottom of the page. As an alternative you can
Add/copy the contents of the Page Footer Section/Subsection to the Report Footer Section also.
Suppress the Page Footer Section/Subsection on the last page using the formula
PageNumber=TotalPageCount
It will print Page Footer on all other pages but not on last page. Contents of report footer will print at the end of the report, including your copied page footer content. But keep in mind that you have multiple Page Footer Sub-sections, you may need to apply the formula and format your report accordingly. Additionally care needs to be taken if your have formula, calculations in the page footer.
Along with above setting, if you want to hide vertical lines too, then you will have to draw the lines in two parts.
From Report Header Section to Report Footer Section.
For Page Footer Sections draw separate lines from first Page Footer to last page footer.
For formatting purpose you may also need to enable Extend to Bottom of Section when Printing option in Format Line
I've been working with Crystal Reports 2008 for a while now, and while I get the general gist of it, some things seem quite hard to do, especially because I don't know what tags and proper syntax is allowed within CR.
Anyway, my problem is as follows: I've been making an invoice layout, but sometimes the Details-section ends at a page, but the section containing the invoice summary (including the final price and such) is printed on the page after that. That also means the Details header is printed the next page, with nothing between the header and the summary.
Is it possible to conditionally suppress Page Header D when the Details section is null on the last page?
Trying something along the lines of
IF {Section Details} = "" AND pagenumber=TotalPageCount
THEN TRUE
ELSE FALSE
I'm sorry if I'm making no sense; there is a drastic lack of coffee around here.
Try just using the keyword OnLastRecord for your Page Header suppression formula. The only situation I'm not 100% sure about is when your last page only contains a single record (the last record)... it might still suppress the header in that situation, but I think it's probably OK.
Right click on the report page header you want to conditionally suppress.
Section Expert -> page Header -> Check the checkbox for Suppress and click on the formula button on right side against suppress in same section expert screen and in the formula..just write Onlastrecord AND NOT Onfirstrecord
Done !! This way, even if one record is there, the page header will show else it will get suppressed if no more rows are present on next page in the corresponding details section. you can have report footer or any summary following the details without any ugly page header and lines showing.
Apply the same Suppress formula to Report Footer Section also if you don't want report footer on the last page.
Thanks to Abhilash in this SAP Forum
I'm using Crystal Reports Basic for Visual Studio 2008.
I have each item in a group printing on a separate page. There is a footer section which is set to Print at the Bottom of the Page. I am suppressing the page when its data is 0 by suppressing all sections with a formula.
The problem I have is that when the footer is set to bottom of the page, the suppressed page is printed as a blank page. When I turn off bottom of the page, and use NewPageBefore with the formula instead, the page is suppressed correctly, but when I turn on "bottom of the page", I get a blank page.
I have checked for unsuppressed sections, but they are all either suppressed with the checkbox or the formula.
I had this issue before, which took me quite a lot of time to find a workaround. Hopefully putting the answer here will save some time for others.
Whenever you enable "Print at Bottom of Page" for a section, make sure other sections that come after that (including Report Footer and Page Footer) are all suppressed, otherwise there will be an empty page printed at the end. Note that keeping them empty or ultimately narrow is not enough, they must be suppressed explicitly.
I had an empty report footer with a 0 height, and I thought it would take no space and will not cause an issue; but I was wrong. I had to explicitly suppress that footer to solve the issue.
If the sections coming after that are suppressed via a formula, make sure the formula is satisfied on the last record.
I am a complete novice here, but I had to build a report for work and figure out how to do this.
I had the same issue - but caused by two separate reasons. First, when I checked the 'page after' to keep each group on its own page, I had a blank page at the end. I simply added a formula 'Not OnLastRecord'.
Then, the second issue was the 'print footer at bottom of page' - I wanted each sub-group to start a new column at top of page. This also created a blank page at the end (if I turned off the 'print footer at bottom' the page disappeared). I followed Sina Irvanian's advide here and suppressed the footers that came after it. I only suppressed the ones that were blank since my page footer had content - this was sufficient.
Problem solved!
It sounds as though NewPageBefore is unconditionally checked on the footer section. If so, try unchecking it and checking NewPageAfter instead.
Alternatively, if a new page has to be begun before the footer section which is then printed at the bottom of the following page when the data is not 0, try unchecking the NewPageBefore option and instead enter the opposite of the conditional suppress formula in the conditional NewPageBefore formula - ie. data is not 0.
A 3rd party application prints letters using Crystal Reports.
Our in-house style requires a footer graphic (approx 1.5 inches deep) at the bottom of the first page in any letter sent out.
Is there any way to determine the cut off point for the report detail sections that will always print the footer on the first page?
Some detail sections are either/or, some are optional and some are required.
There doesn't seem to be a mechanism for calculating the page length used if the maximum section length is chosen.
Is this a peculiarity of the way Crystal works or am I missing something?
You can put the graphic in the page footer. Add a suppress formula to the page footer
pagenumber <> 1
If you need a page footer for the other pages, you can add another page footer section below the first.