Crystal Reports: including a subreport into a grouping section? - crystal-reports

I have a report which lists out a company detail. There are two sections to the company detail. The first portion lists out environmental data and the second is actually a subreport which lists out Cash flow details for every single year of the company.
I have multiple companies i need to do this for--so i grouped the report by Company. This works like a dream except for when it comes to the subreport. I'm having real issues trying to get it so that every single company has a different subreport of cash flow. Anybody know how to include a subreport into a group so that every company i have has its own data for the cash flow data?

You have to link the subreport to the main report: right-click on the subreport and choose "Edit subreport links". Here you can select the fields to use to link the main report and the subreport.

You have to link the subreport to the main report: right-click on the subreport and choose "Edit subreport links". Here you can select the fields to use to link the main report and the subreport.
Edit Subreport and in Menu, Click Report -> Select Expert and click show formula button. By default it shows Record Selection radio button.
You copy that formula and choose Group Selection and paste and give ok.
It will work :-)

The subreport has to take a parameter that identifies a company, which the main report will provide. Then you link the value to the parameter via the subreport properties available on the main report page.

Related

Repeat crystal report header on new Tabs

In crystal reports, if I create a report and group by gender, I of course get a report which those "Males" and then "Females". If I click on the male group a new tab opens in crystal reports which has just the details of the male group.
My question is, is it possible that I can include the header and footer of my report in this new tab? I have seen ways to repeat the header but it goes on every single page. That is not my goal, I just want it to show in new tabs
Go to File, Report Options...
Turn on the 'Show All Headers on Drill Down' option.

Crystal Report display three records per page

This is the record in 1st employee in page and there is another employee results in other page. In every page there is only 1 employee details:
All I want is in every page, 3 employee details will be displayed not only one.
This is the the image also in my Crystal Report.
When you go through the Sections in the Section Expert, is the "New Page After" or "New Page Before" chekbox checked anywhere? Uncheck it. Try the first and the last visible section, it should be there.
That will give you as many employee details in one page as possible.

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?

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.

Crystal Reports: Subreport on more than one page

Hi I have a Crystal reports, report set up and I want to insert a sub report as the first page. I thought I can do this buy placing a subreport in the PageHeader of my other report. It works well but it does not display the rest of my sub report pages; it only displays the first page. Can someone help me configure this? Thank you.
If you put a subreport in the pageheader and the subreport is longer than a page, crystal might blow up!