02-18-2005, 03:31 AM
Join Date: Nov 2004
Crystal 9 report viewer progress bar
I am confused about the crystal reports veiwer. When it is loading, which can take some time, I would like the user to be informed of the progress but this does not seme to happen. I have set the CRV.EnableProgressControl = True and it shows a progress bar at the top of the viewer but it sits there motionless.
I have had a search on the forum for any information on this but all I could find was something saying it was not possible to show a progress bar. Could this realy be the case?
If you can't show a progress bar is it possible to show something moving to keap the user entertained like:
CRV.EnableProgressControl = True
CRV.ReportSource = crxReport
CRV.Visible = True
fraProgress.Visible = True
Me.Show , frmParent
Incrament = 1&
Do While .CRV.IsBusy = True
Debug.Print "Loading "
PB.Value = PB.Value + Incrament
If PB.Value = PB.Max or PB.Value = PB.Min Then
'Show a Kit effect
Incrament = Incrament * -1&
fraProgress.Visible = False
But when I try this I get one debug print despite the load taking up to a minute!
Any help would be appeciated.