Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_ReportListener
Message
From
05/10/2005 16:34:00
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
 
 
To
27/09/2005 07:50:40
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01053366
Message ID:
01056487
Views:
26
This message has been marked as the solution to the initial question of the thread.
I found an alternative solution to solve this!
Maybe doesn't the best solution, but this way, I run report only one time to print the desired range!
Local loReportListener
loReportListener = Newobject("_ReportListener","_ReportListener")
loReportListener.ListenerType = 3
Report Form report1 Object loReportListener NoPageEject
Report Form report1 Object loReportListener
With loReportListener
     With .CommandClauses
          .PrintRangeFrom = 10
          .PrintRangeto = 20
     Endwith
     .OnPreviewClose(.T.)
EndWith
loReportListener = NULL
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd
Previous
Reply
Map
View

Click here to load this message in the networking platform