Crystal Report Group Header not visible on every page - crystal-reports

I have a group header which contains the column names for the data in the details section. I am trying to display the group header on every subsequent page since my data in the details section is too much.
I have tried enabling the "Repeat group header on each page option" but still no help. Also tried many other solutions posted on the web. Doesn't seem to help.
My report structure is similar to the below:
Report Header
Page Header
GH1
-GH1a
-GH1b
Details
-GF1b
-GF1a
Report Footer
Page Footer
I am trying to show the group header for GH1b. Any advice would be appreciated. Thanks in advance.

Group header will be displayed on change of every group..
Since your detail data is huge group header won't be carried to next page where there is no change in group.
One wayout would be place all columns of GH1b on the page header so that it appears on every page and write the code to supress the page header when group changes that is when GH1b appears.
Hope this solution helps.

Related

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"

header wont appear on all pages of crystal report 2013

I am trying to have a header appear on all the pages of a report designed in crystal reports 2013. Most of the reports will one page but occasionally they may be more.
In the section header I add the below to the suppress formula and leave the box unchecked.
If PageNumber<1 Then True
However, if there are two pages the header appears only on page one. Thank you :).
Report header will be added once for report, So there is no meaning to write that formula in report header.
Now as per your requirement.
Add fields in page header and also in group header.
Add the below supress formula for page header.
if pageheader =1
then true
else false
So in page one page header will be supressed and fields will be displayed as headings in group header.
From page 2 from starting of the page you will find the fields and only one problem with this solution is if group header starts from next page you will find two headers.
Let me know how it goes
If you want to show some Objects on all pages then place objects on Page Header, If you want them to shown on Every group then place objects in Group Header, If you want to show them only on start of your report then place them in Report Header.

How do I keep a group header in crystal reports from appeaing when unnecessary?

I am running a report on multiple salespersons and their multiple clients. I have a group header, which includes the name of the salesperson for that group, and a secondary group header, which includes the name of each of the salesperson's clients and all their info as well as headings for the columns with information.
I've set up both group headings to appear at the top of every page. It works for the most part with the group header at the top of every page along with the corresponding secondary group header for the particular client being reported on. However, I've run into a small problem. Sometimes when the next group for a for the next client is started it's toward the end of the page so that the end of page has the secondary group header with none of the details only to repeat at the top of the next page with the corresponding details. I don't want to start a new page for each client as some clients don't have a lot of information and multiple clients can be included on a page. How do I set it up so that if there is not enough space on a page for any details, the secondary header does not appear until the next page?
Thank you.
I realized that "keep it together" was only clicked for the main group not the subgroup that I was worried about. So I clicked it and that solved the problem

Adding multiple sections in Crystal Reports without using subreports

I'm making a check report and need the check stub to show up twice on each page. I think i can do this by showing the same group header, details and footer on the same page twice. The issue I'm having is that the table I'm connecting too only stores the data for a brief moment while the report is being accessed which seems to bar me from using subreports. The subreports just show up blank. Is there a way to show the same section twice without using a subreport?

Crystal subreport in page footer won't print

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