Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of copies
Message
De
06/02/2007 12:28:33
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
 
 
À
06/02/2007 12:08:32
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:
01192884
Vues:
15
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.
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform