|
-
Aug 4th, 2005, 05:45 AM
#1
Thread Starter
Member
[RESOLVED] Crystal reports - huge report, how to speed it up?
Hi,
I have a problem with crystal reports. I've created one single report which should show me everything from certain ms access tables(two tables). In my sql query there is two date(string) confinings. In this table where I want my data out is over 500 000 rows. I've optimized my query and it should be as fast as it can be. But anyway my problem is that the report is so darn slow. It takes over 45 minutes to show up.
Like I said that the query is as fast it can be, I've performed it in ms access and this query works fine (and fast). So the problem isn't in my query, I think crystal reports is braking my report.
What can I do to speed it up?
Last edited by Arto; Aug 5th, 2005 at 01:29 AM.
"Testing? What's that? If it compiles, it is good, if it boots up, it is perfect."
-Linus Torvalds
-
Aug 4th, 2005, 11:39 PM
#2
Re: Crystal reports - huge report, how to speed it up?
Do you have any conditional or selection formulas in your report? When you run it through Access how long does it take. How about any subreports, etc? How are you connecting to your db in CR?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 4th, 2005, 11:51 PM
#3
Junior Member
Re: Crystal reports - huge report, how to speed it up?
 Originally Posted by Arto
Hi,
I have a problem with crystal reports. I've created one single report which should show me everything from certain ms access tables(two tables). In my sql query there is two date(string) confinings. In this table where I want my data out is over 500 000 rows. I've optimized my query and it should be as fast as it can be. But anyway my problem is that the report is so darn slow. It takes over 45 minutes to show up.
Like I said that the query is as fast it can be, I've performed it in ms access and this query works fine (and fast). So the problem isn't in my query, I think crystal reports is braking my report.
What can I do to speed it up?
Saving data in the report has a big effect to the speed of the report. Try to see if the "Save Data with Report" option is selected. If yes, that may be the cause.
-
Aug 5th, 2005, 12:36 AM
#4
Thread Starter
Member
Re: Crystal reports - huge report, how to speed it up?
 Originally Posted by RobDog888
Do you have any conditional or selection formulas in your report? When you run it through Access how long does it take. How about any subreports, etc? How are you connecting to your db in CR?
There's no formulas in my report at all(well, I use CRs sum function once at report footer). When I run it through access it takes only few seconds, so I think there's nothing wrong in my query. And no, there's no subreports. Only one group. CR is connected to database via ODBC. Any suggestions?
Last edited by Arto; Aug 5th, 2005 at 12:41 AM.
"Testing? What's that? If it compiles, it is good, if it boots up, it is perfect."
-Linus Torvalds
-
Aug 5th, 2005, 12:40 AM
#5
Thread Starter
Member
Re: Crystal reports - huge report, how to speed it up?
 Originally Posted by oreo
Saving data in the report has a big effect to the speed of the report. Try to see if the "Save Data with Report" option is selected. If yes, that may be the cause.
Where can I see this option? When I run my report it few seconds stress my cpu 100% and then it starts to swap. It's creating this huge temp file to my hard-drive.
"Testing? What's that? If it compiles, it is good, if it boots up, it is perfect."
-Linus Torvalds
-
Aug 5th, 2005, 12:53 AM
#6
Re: Crystal reports - huge report, how to speed it up?
File > Report Options > uncheck "Save data with report.".
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 5th, 2005, 01:25 AM
#7
Thread Starter
Member
Re: Crystal reports - huge report, how to speed it up?
Oh, I see
And it works! Now this report shows up after 1-2 minutes. Great, thanks.
"Testing? What's that? If it compiles, it is good, if it boots up, it is perfect."
-Linus Torvalds
-
Aug 5th, 2005, 01:50 AM
#8
Addicted Member
Re: [RESOLVED] Crystal reports - huge report, how to speed it up?
I don't have a solution to Arto's query but saving data with report will cause the report to return the old data. It will not reflect the updated status of the data. This scenario is advisable for static data.
-
Aug 5th, 2005, 10:44 PM
#9
Re: [RESOLVED] Crystal reports - huge report, how to speed it up?
Has anyone ever had a situation where Save Data With Report is used or even necessary?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 7th, 2005, 04:48 AM
#10
Thread Starter
Member
Re: [RESOLVED] Crystal reports - huge report, how to speed it up?
 Originally Posted by RobDog888
Has anyone ever had a situation where Save Data With Report is used or even necessary?
I think it is useful when you need to export(.pdf, doc..) your report fast. If you have "save data with report" unchecked exporting takes longer time, but if it's checked you can export you report in notime.
Last edited by Arto; Aug 7th, 2005 at 04:55 AM.
"Testing? What's that? If it compiles, it is good, if it boots up, it is perfect."
-Linus Torvalds
-
Aug 7th, 2005, 04:37 PM
#11
Re: [RESOLVED] Crystal reports - huge report, how to speed it up?
True, but with static old data dont seem valid if you need updates.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|