Crystal subreport in page footer won't print - crystal-reports

I'm attempting to modify a Crystal Report that prints our invoices. The original request was to allow the report to print the T&C (Terms & Conditions) Page at the end of each invoice. I was able to do this successfully. However, when I presented it to the end-user they explained that they don't want to have to print each invoice individually. (Makes sense...) However, I have not been able to successfully provide results as of yet. Below are my challenges/questions:
I obviously can't expect the Report Footer to print multiple times within the report so I inserted a section below my current page footer for the T&C. I wanted to add a 'New Page Before' but that option is grayed out. After attempting to identify what was causing this to gray out without success (content that was marked 'can grow' or that was too large for a section is my understanding) I decided to attempt creating a subreport in the new page footer & I marked that section of the report as 'New Page Before' so that the T&C would be placed on a new page between each invoice. I finally got the first line of the T&C to show up but the rest was cut off and the next page started the next invoice.
Does anyone know why my subreport in the page footer - to display a single page print of our company's T&C - isn't working as intended?
Thanks in advance for your time!
Renee'

Open the SubReport by right clicking and going to Edit from the main report.
Resize the Detail section of the Subreport. This should help displaying all of the T&C

Related

Crystal Reports PO add second page Terms & Conditions

Our ERP system Macola has a PO form created with Crystal Reports. I need to add a second page, Terms & Conditions. I've tried several suggestion from the web with no luck. The second page prints with the Terms & Conditions, but the first page header information still prints. I tried the suppression using pagenumber >1, but when you look at the printout of the second page, the page number is 1 so this formula doesnt suppress the header information. Any help would be appreciated. Its amazing that just adding a second page with terms & conditions would be that difficult. Is there an easy way to add a PDF to the last page, not using subreport.
I have a few reports that do exactly what you describe. The way I designed the reports was to put the Terms & Conditions in the Report Footer section. Then in the Section Expert for the Report Footer I checked the box for "New Page Before" on the Paging tab. This ensures this section always begins on a new page. As for suppressing the Page Header on the last page, I used the following formula.
PageNumber = TotalPageCount;
I also used this same formula in the Page Footer section to ensure it is suppressed on the last page as well.
This design also assumes that the user will never print more than a single PO at once. If your users need to print a range of Purchase Orders at once, this design will only print the Terms & Conditions page once regardless of how may Purchase Orders are being printed.
Also, based on what you said about your pagenumber > 1 formula not working as expected, you may want to go through each section in the Section Expert and inspect the Paging tab to see if any sections have "Reset Page Number After" enabled. Any sections that have this enabled will force page numbers to reset back to 1 after that section prints and could cause any formula that evaluates PageNumber to behave unexpectedly.

How to delete the last page in Crystal report?

I cannot figure out how to get rid of the last page in the Crystal report, whether in the report itself or in C# code behind it.
I know how to delete the last blank page if the report has grouping and use Not OnLastRecord. But this is not my case, I don't have grouping, and I need to delete the last page regardless whether it's blank or not. I also know how to suppress the header on the last page and use PageNumber=TotalPageCount, but this doesn't delete the page.
I would appreciate any help.
The usual cause of a blank last page is that you have a report footer section with nothing in it. Suppress that section.
Another potential cause is a group footer section set to "New Page After". Make that option conditional with "NOT OnLastRecord"

Reset page number after is not working in Crystal reports 2008

I have a main report which contains two sub-reports. These sub-reports are placed in report-footer A and report-footer B. Now I want to reset page numbering after first sub-report.
In the section expert I have checked the "reset page number after" option. But still I have continuous page numbering for both the sub-reports combined.
Please help.
Thanks guys.. problem is solved :)
Subreport in report footer A had a 'new page before' checked in its report footer section. Once this tick was removed, page number problem got resolved.
Though m not getting how the subreports new page after affected page numbering in main report.

in Jasper Reports how to know when we reached last page

Our invoicing system needs to print OMR (optical mark recognition) symbol on each page of our invoices so the folding machine knows what to put in the envelope.
That little PNG picture with OMR mark has to be put on each page. Our invoice is consisted of main report with two subreports created in special .jrxml files. Picture is generated by calling web service with passing page number and 'last page' mark as a parameter in http request.
What we can't put to right is that 'last page' mark since variable called $v{PAGE_NUMBER} can be read in two contextes: page and report. If you read it in page context you will have actual page number, in report context that variable will give you total number of pages. You cannot read such variable at once and know that you are on, lets say, page 3 of 5.
Since I have 'access' to last page (last page is filled with static text) in main report I can put another image with total number of pages and hardcode 'last page' parameter set to true, and put that image on the very same position on paper where regular image 'sits' so this image will overflow another generated in transactions subreport, but then there is no rule of which image will be over another, this approach is only partly successfull.
What can I do?
If you put the OMR symbol in the footer, you can use the report element Last Page Footer, which will cause the last page footer to be different than the other page footers in the report. This way you can put a last page mark on the last page of the report.

How to use jasper reports to print something only on the first page?

How to use jasper reports to print something only on the first page. I am using jasper reports for printing invoices and only on the 1st page I need to print the Remit Payment To section with the address following it. Customer address is also present there. The way it is currently designed is that this goes into pageFooter section and we use printWhenExpression(PAGE_NUMBER = 1) so that this only gets printed on the 1st page of the invoice. But the downside of this approach is that the jasper engine reserves the size equivalent of the page footer on all the other pages (1..n) of the invoice. So we are able to use only about 2/3 rd of all pages. Remaining 1/3rd page which is for page footer is blank for all pages except the 1st page. This increases the number of pages. Any ideas for fixing this issue?
Use "Print When Expression" of the Page Footer itself, not the field.