Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of copies
Message
 
 
À
06/02/2007 12:28:33
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01192716
Message ID:
01192907
Vues:
20
If that's the case, why coping to a temp report and changing expr in Run method would not work for you?

>Yes.
>
>The class work as well:
>
>Local oReport
>oReport = CreateObject("MyReportClass")
>oReport.PDFFileName = "xxxx.pdf"
>oReport.Add("Repor1.frx")
>oReport.Add("Repor2.frx")
>oReport.Add("Repor3.frx")
>oReport.Run("I")
>
>The parameter passed in Run method could be "I" to print, "P" to preview, "E" to e-mail or "W" to upload the resultant pdf file.
>
>In "MyReportClass" there is a Report Form... Object command for each report added that use a ReportListener object in which I add the watermarks and do another things.
>
>I want that when the user choose the printer and the range of pages (using my form and don't the VFP print dialog), he also choose the number of copies.
>But I want to do this in a way (if is possible) that I only need to change the class in itself instead of each call.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform