ActiveReports 2.0 (Visual Basic 6.0) Support

Started by peter123 at 11-29-2004 5:43 AM. Topic has 1 replies.

Print Search Rate
Sort Posts:    
   11-29-2004, 5:43 AM
peter123 is not online. Last active: 5/31/2005 10:19:05 PM peter123

Not Ranked
Joined on 08-28-2004
Posts 14
Progress Indicator when rendering reports!

Hi All,

When a form is luanched that contains an ARViewer control which in turn loads a report (DSR or RPX) and renders it to the screen, there will be few seconds or more where there is not much activities that the user is able to see. Especially if the Pagecount field is inserted in the page footer. Is there a way to hide ARViewer and launch a graphic bar that it can display the progress of the operation until the report is completely ready after which we can unhide the ARViewer form and close the progress bar form? We would also like to have a 'Cancel' button on the progress form that we can use to gracefully and neatly abort the report. Any pointers? Samples? Ideas?

Thanks so much!

Peter


   Report 
   11-29-2004, 9:16 PM
Peter V is not online. Last active: 12/15/2005 1:19:13 AM Peter V

Top 10 Posts
Joined on 08-28-2004
Posts 3,434

DDStaff
Re: Progress Indicator when rendering reports!

I was unable to find any samples of this, but I do believe other users have solutions implemented.  If anyone is willing to share their solution to this, please post it here.  Thanks in advance.

I believe this can be done by displaying your dialog, then calling the report's Run method with the True argument.  This won't return any information that you can use to return to the user if you have a page count though.  You can use the Status property off the report object:
http://www.datadynamics.com/Help/AR2/AR2Std/HX_ActiveReport_Status.html


Peter V
ActiveReports Support
   Report 
GrapeCity » Product Support » ActiveReports 2... » Progress Indicator when rendering reports!

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.