Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Progress bar while running a report
Message
De
11/02/2002 14:25:13
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00618464
Message ID:
00618506
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform