Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of copies
Message
From
06/02/2007 12:28:33
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
 
 
To
06/02/2007 12:08:32
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01192716
Message ID:
01192884
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform