Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control is busy downloading data... error
Message
 
To
02/03/2004 18:06:30
George Simon
GS Data Technologies, LLC
Cincinnati, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00882541
Message ID:
00883727
Views:
6
Here is a tip from a Craig Berntson article in his site at:
http://www.craigberntson.com/Articles/kb010.htm
This is working well for me. Put the code bellow inside the 'ERROR' event
of the form:

PROCEDURE Error
LPARAMETERS nError, cMethod, nLine

IF nError != 1440
* Error 1440 is caused by the Crystal Report Viewer
* when you try to display it before the report is done
* loading. We'll ignore it and trap all other errors.
DODEFAULT()
ENDIF
ENDPROC

HTH,

Eduardo Vidigal
Grupo Fox Brasil

>Hello UT Members!
>
>I'm getting the following error when I try to preview a report using the CRViewer 9.2 control.
>
>"OLE IDispatch exception code 0 from CRViewer9.CRViewer.9.2: The control is busy downloading data..."
>
>This error does not always occur. On some workstations it occurs the first time the user tries to bring up a report but works on subsequent tries. On other workstations it never happens and on others it occurs every time.
>
>The error occurs between the point when I set the viewer's ReportSource property to the report object and when I call the Show() method of the form that contains the CRViewer control.
>
>Is there a way to check the CRViewer control to make sure it's finished downloading data before I Show the form? I noticed the CRViewer control has an 'IsBusy' property but I'm not sure how to use it.
>
>Any thoughts?
>
>TIA
>
>George
Previous
Reply
Map
View

Click here to load this message in the networking platform