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