Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Progress bar while running a report
Message
From
11/02/2002 14:25:13
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00618464
Message ID:
00618506
Views:
11
This message has been marked as a message which has helped to the initial question of the thread.
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.
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform