Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Progress bar while running a report
Message
 
 
To
11/02/2002 14:25:13
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00618464
Message ID:
00618522
Views:
9
On the second thought, this idea still may work. If we instantiate a private variable oProgBar, we can access it in report. I'm not sure, how to calculate number of pages in advance, but I can make some rough determenition...

I'll see, what I can do. For now, I use animation...

>Nadya,
>
>If you run the report from a method in a form, you can make calls back to the form from within the report. Inside of the report, 'THIS' will refer to the form.
>
>For example, in the page footer of the report, you can put the following:
>
>
>this.setPage(_pageno)
>
>Add a method to the form:
>
>* setpage()
>lparameters lnPageNo
>
>thisform.printingPage = lnPageNo
>thisform.status.refresh()  && where this is a control that is bound in some
>                              && way to thisform.printingPage
>
>return ''
>
>For this to work, you must run the report from a form method, not in a command button click() method.
>
>-steve
>
>>Hi everybody,
>>
>>I run report to a PDF. I do it twice, because I need to do some special processing on the file. I hide Printing window. How can I show my own progress bar to give user some info, what's going on... Or may be it's better to show some animation?
>>
>>Do you have some ideas about it?
>>
>>Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform