Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Subreports and slowness Post Reply Post New Topic
Author Message
thummel1
Senior Member
Senior Member
Avatar

Joined: 27 Apr 2012
Location: United States
Online Status: Offline
Posts: 140
Quote thummel1 Replybullet Topic: Subreports and slowness
    Posted: 10 Mar 2015 at 10:28am
Hi,
 
Looking for general ideas/thoughts related to subreports in Crystal Reports 2008. We have several reports in our organization that require subreports. They are great in that they display the data you need, but they bog down the reports so much, causing them to sometimes take hours to run.
 
I'm wondering if anyone else experiences this, and has found an alternative to using subreports that helps their reports run more efficiently?
 
Thanks!
 
 
"Press any key to continue. Where's the 'Any' Key?" ~Homer Simpson
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 10 Mar 2015 at 10:53am
I try to avoid using them if possible. It really depends on why you are using them which will vary from report to report. I see use of them as ways to avoid 'duplicating' data which can often be handled in other ways.
Can you accomplish the same thing in a stored procedure?
Can you attend to the content by grouping? Can you make the sub reports run time reports that only execute when selected?
 
Also are you using "page N of M" in Crystal that will also slow down run/rendering time?
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 01 Apr 2015 at 5:58am
As another thought, you could select the data for your subreport in the 'main' select (assuming the stored procedure approach) and then you use grouping to simulate the subreport.

Similarly, if you have an application, you could return a dataset to the application which could feed it to the report via XML and then the same solution as above (just linked tables take up less space than uber wide tables).

Just some more ideas
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.027 seconds.