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:
00618528
Views:
10
Hi Steve,

Actually, here is the deal: we have a class, called Reporter. This class uses MetaFile, which describes our reports. In this MetaFile there is InitExp. In this InitExp I put a call to SpecialMtd. So, I guess, I still have an access to this in report itself and it would refer to Reporter class. So, it would be a good idea to add some visual progress bar to this class. Unfortunately, this is not my application and the original developer is put on hold...

>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