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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It gives you the error even if you just try to view the report? You're not clicking on anything?
mlmcc
mlmcc
Glad I could help
mlmcc
mlmcc
ASKER
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