Link to home
Start Free TrialLog in
Avatar of renelovino
renelovino

asked on

Error "The control is busy downloading data"

Hi All,

I am using RDC of Crystal 10.
When I preview my report it gives me an error "The control is busy downloading data".
I am using the ViewReport method. How I can resolve this problem.

Any help would be greatly appreciated.

TIA,

Rene
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of renelovino
renelovino

ASKER

Hi mlmcc,

Actually I am using VFP 8 to call the Crystal 10.

In the Init() event of the form I could like this:

lparameters toCRReport, tCaption
with ThisForm
      .Caption = tCaption
                .WindowState= 2
      with .OlecontrolCRView
                                .olecontrolCRView.Top = 0
            .olecontrolCRView.Left = 0
            .olecontrolCRView.Width = .Width
            .olecontrolCRView.Height = .Height
            .ReportSource = toCRReport
            .ViewReport()
      endwith
endwith


The above coding will set the window to maximize during preview.
And the CRViewer control will also resize according to VFP form size.


Rene
It gives you the error even if you just try to view the report?  You're not clicking on anything?

mlmcc
Glad I could help

mlmcc