Print Page | Close Window

Adding Subreport in a Subreport in crystal reports

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=193
Printed Date: 24 Apr 2024 at 8:49pm


Topic: Adding Subreport in a Subreport in crystal reports
Posted By: shaurya.rastogi
Subject: Adding Subreport in a Subreport in crystal reports
Date Posted: 04 Feb 2007 at 10:12pm

Hi

I am coverting a report made in Access Application which contains subreports within subreports.The nesting is upto five levels deep.As Crystal reports do not allow adding of subreports within subreports,how do i deal with it.

Is there some other way to deal with the problem.Any suggestions and help will be appreciated.

Regards

Shaurya




Replies:
Posted By: BrianBischof
Date Posted: 04 Feb 2007 at 11:06pm
You're kind of out of luck. One trick is to do hyperlinks to the other subreports, but that doesn't actually display the data within the detail report. It just lets you link to the next level deeper and open it in its own tab. 

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>


Posted By: shaurya.rastogi
Date Posted: 04 Feb 2007 at 11:09pm
Originally posted by BrianBischof

You're kind of out of luck. One trick is to do hyperlinks to the other subreports, but that doesn't actually display the data within the detail report. It just lets you link to the next level deeper and open it in its own tab. 
 
So it will be more like a web page in which the subreport containing another subreport will open up as an independent report triggered by the hyper link in main report??


Posted By: BrianBischof
Date Posted: 05 Feb 2007 at 12:28am
Yes. That's it exactly.

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>


Posted By: shaurya.rastogi
Date Posted: 05 Feb 2007 at 12:31am
Originally posted by BrianBischof

Yes. That's it exactly.
Thanx for the solution
But is there no other way or some other workaround to display entire report in main report page


Posted By: jetcool911
Date Posted: 20 Jul 2007 at 4:29am
how about creating an rpt file as a subreport containing another subreport?

Ex.
-MainRpt.rpt
-PrimaryRpt.rpt
-SecondaryRpt.rpt
-LastRpt.rpt

-MainRpt(subs PrimaryRpt)
-PrimaryRpt(subs SecondaryRpt)
-SecondaryRpt(subs LastRpt)

Is this possible?


Posted By: BrianBischof
Date Posted: 20 Jul 2007 at 8:05am
No. CR simply doesn't allow subreports more than one level deep. No way around it.

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>


Posted By: jetcool911
Date Posted: 23 Jul 2007 at 11:48pm
Originally posted by BrianBischof

No. CR simply doesn't allow subreports more than one level deep. No way around it.



whaaa.... Cry the report is so complicated that it needs sub in a sub... anywayz, thanks guys... have to look for a better report format now...


Posted By: tony
Date Posted: 09 Aug 2007 at 7:17am
Hi.  So, you should be able to put subreports in a subreport but will have to keep it as a link which will open a new tab, correct?  If so, I'm fine with this.  Is there an example that someone could post?  I've been trying to do this but I think I'm missing something.

Thanks!



Print Page | Close Window