Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subreports appearing 3 times

Status
Not open for further replies.

0318vb

Technical User
Dec 7, 2007
6
US
I have a report using three subreports. Two of them are beign called in groupheader 2a and the third is in groupheader 2b. The report shows up with three pages for each day, all of them have a GH2a and GH2b however the data for GH2b only shows up in the middle report. The data in GH2a is correct and the same on all three pages.


Other info.

Crystal Reports XI
If I remove subreport 3, it runs correctly.
Subreport 3 is a chart.

Any suggestions?
 
Please identify the groups in your main report, and then also tell us how the subreports are linked to the main report.

-LB
 
The Main Report

RH
PHa
PHb
GH1 (Group by ProgramName)
GH2a (Group by StartDate)
GH2b (Group by StartDate)
Details
GF2
GF1
RF
PH



All three subreports are linked via a Program ID and a startdate.
 
Do you have the group #2 set to repeat group header on each page? Are you expecting the chart to repeat three times?

I'm assuming you mean the startdate group is per day, and that there is three pages worth of data per day.

In the section expert, do you have the two GH2 sections formatted in any special ways?

-LB
 
I do have group 2 set to repeat group header on each page.
Yes the startdate group is per day.
The section expert in the main report is not formatted in any special way. However, subreport 3 was section was formatted with new page after. After removing it, it works fine. Thanks for the suggestion
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top