cancel
Showing results for 
Search instead for 
Did you mean: 

Preview Form Shows during Crystal Report Loading Process

Former Member
0 Kudos

Hi,

I have a slight issue on the behaviour of my application of how the report is loaded to the user.

Within my application, I have a button that when pressed - shows the print preview form with the report displayed.

The issue I am having - is that in some scenarios - preview form is visible to the user - along with a black screen (presuming a large dataset is being called and rendered) and THEN the report will appear

Code - appears in sub-routine called RunReport

-


'Set up the printer

Call SetReportPrinter()

'Log into the report

Call LogonReport(mReportDocument, crConnectionInfo)

'Apply Parameters to the report

Call SetReportParameters()

CRViewer1.ReportSource = mReportDocument

Me.Show() ' where the form is presented to the user on screen

Is it possible for me to show the preview form to the user - with all results loaded and ready to be displayed - so there is no delay in presenting the results to the user.

pryeshg

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

What version of Crystal Reports?

Ludek

Former Member
0 Kudos

Crystal Reports 11 Release 2

I am using .NET components

The version of my CrystalReportViewer is 11.5.3700.0

former_member183750
Active Contributor
0 Kudos

This is a known issue, track number 5000005116. Last communication with R&D re. this issue was June 5th and they are still working on a resolution. Latest service packs appear to improve the behavior, but does not resolve the issue as such. Try SP 5 from here:

https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe

Another possible work-around may be to export the report to rpt file format programmatically behind the scene (e.g.; would not see this), then view this exported report. It should display quickly as the report will be processed and with saved data.

Ludek

Answers (0)