Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Add Command Function Post Reply Post New Topic
Author Message
Nick_TPL
Newbie
Newbie


Joined: 26 Mar 2012
Online Status: Offline
Posts: 2
Quote Nick_TPL Replybullet Topic: Add Command Function
    Posted: 26 Mar 2012 at 4:10am
I have used a simple Add Command function in Crystal XI to create a 'table' which I have then used in conjunction with other existing tables within Crystal to create my report.
 
The report runs fine and does what I need but when it runs it is incredibly slow.
 
Any ideas how I could speed this up?
 
Thanks
IP IP Logged
rkrowland
Senior Member
Senior Member
Avatar

Joined: 20 Dec 2011
Location: England
Online Status: Offline
Posts: 259
Quote rkrowland Replybullet Posted: 26 Mar 2012 at 5:24am
I've had this problem too and I've never been able to fix it directly - I get round it by doing everything inside the SQL command... ie create the link to the additional tables inside the command so you dont need to join anything inside crystal.
 
Regards,
Ryan.
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 26 Mar 2012 at 6:33am
Yes, the issue with using a command and tables is that it loads all the rows into memory before doing the rest of the processing (at least that is what I have been told).  It can really bog things down.
IP IP Logged
Nick_TPL
Newbie
Newbie


Joined: 26 Mar 2012
Online Status: Offline
Posts: 2
Quote Nick_TPL Replybullet Posted: 26 Mar 2012 at 6:53am
Thanks both, much as I'd feared.
 
I've managed to speed things up with a sub-report but the original query was so straightforward it should just work better!
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.016 seconds.