views:

568

answers:

3

Hi I have designed a crystal report which has only two sub reports to be displayed and no fields on the main report.

I have created those two subreports and placed them on the main report's Report Header Section A and Section B respectively.

But the problem is when I execute the report, data is getting displayed properly from Second page but not from the first page. First page shows only blank data with header section printing. If I place some sample text fields on the same report header sections where my first sub report is placed, it is getting displayed on the first page only. But sub reports are not getting displayed from the first page.

Need a solution for the same

+1  A: 

Try putting the subreports in the report footer.

I've ran into problems with subreports in the report header that are longer than a page. I think this is due to the report header coming before the page header and maybe some bug.

dotjoe
+1  A: 

As DotJoe says, the recommendation is to put the sub reports into the footer sections when possible. Due to the two pass nature of the reporting engine, not all values are calculated by the time the header is "printed", whereas everything is done by the time the footer is "printed". I have seen some things such as Running Totals be zero in the header but a valid value in the footer.

Anthony K
A: 

I have placed my sub report on group footer and it does not show up for first page nut when you double click on that area it shows sub report data on another tab. Please help me.

Rachel