>The IsBusy property's status never changed and my app went into an infinit loop; which leads me to this question: what's the control busy doing? Is the IsBusy property even the right property to watch for loading the report's data? Will DOEVENTS refresh the CRViewer control so that VFP can see the property's status change?George,
I looked at the code again and forgot to mention that after the ViewReport() and before my DO WHILE loop, I have a 2 second timeout there. I'm pretty sure the reason I had to do that was to give the viewer control a chance to actually become busy. I recall that without that timeout, I also had to deal with an infinite loop situation.
I would give that timeout a try just before your loop.
Laterness,
Jon
Jon Rosenbaum
Devcon Drummer