Using the ReportDisplay For CR 2008 in VS2008 for slow runing queries.

Hi,
I am using the ReportDisplay viewer in VS2008 winforms  which sits on a form which is shown using this.ShowDialog()
Unless the report is really quick (which in general Crystal 2008 does not seem to be) , the form is shown, the mousepointer is automatically changed back from the wait cursor, and the user thinks it has crashed. A fair number of my reports will take 10-30 seconds to display, so I wanted to show some sort of loading indication. I gather that this is only available via the web component at the moment, so I added a status strip with a progress bar on it, which displays fine. However, the problem I have is finding an event of the ReportDisplay to then hide the progress bar when it's done. I've tried the Load,Paint and Layout events, but all seem to fire before the report has finished displaying.
In previous versions of Crystal I have seen code to kludge this sort of thing for the CrystralReportViewer e.g. http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/be123db6-eb32-4636-bde4-fa848464a449 so it seems to have been a problem for a while.
There doesn't appear to be a navigate event for the ReportDisplay. so is there any other way to do this ?
It's very frustrating indeed.....

No way that I know of. Many have tried... as far as I know, all have failed.
You may want to see the article [Improving Crystal Reports Performance in Visual Studio .NET Applications|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8029cc96-6ff3-2b10-47a2-b30ea790ea5b].
Perhaps it will help with the processing speed. But i have noting on the progress indicator in a win app.
Ludek

Similar Messages

Maybe you are looking for