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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedded Crystal Reports Slow To Preview

Status
Not open for further replies.

nells1

Programmer
Mar 17, 2003
28
CA
Hi All

I have been developing my VB.Net application for some time now and it has finally gone into live testing (hurrah!!). However.. When the users go to preview one of my crystal reports (created using the inbuilt crystal reports designer, and viewed using the CrystalReportViewer on a form) it seems to take a long time for the form holding the CrystalReportViewer to appear.. almost a minute last time I counted.

It was never overly speedy on my poor wee laptop (never that slow though), but I put that down to the fact that its slightly old and running out of space. The test machines are new and should be able to handle it much more gracefully. (XP Pro Operating system if anyone is interested)

The crystal report is reading out of the local dataset stored in memory so it shouldn't be a network issue and the reports are all embedded in the application which resides on each machine.

One other interesting point is that it is unpredictable, for instance I am testing it now, and the reports are showing up in a more resonable time (6-14 seconds)?? I fear its going to be rather difficult to track down.

Does anyone have any idea why it may be running so slow.. I'm very new to Crystal Reports and have no idea how it loads the reports for preview.. its always just done it [ponder].

Any help would be appreciated and if I've missed out some info please let me know. :)

Many thanks
Nells
 
You can try stepping through your procedures, make sure it is the CR loading part that is taking the longest. If you find that loading the CR is the slowest line of code, look into the report and see if there's anything going on in it that would cause the slowdown. Might want to check on the CR forums here to see if anyone can help you speed it up also.

-Rick

----------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top