Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Emerson Reed
  Where is Emerson Reed?
 Americana - SP
 Emerson Reed
 To: Barbara Peisch
  Where is Barbara Peisch?
 California - United States
 Barbara Peisch
Subject: RE: _ReportListener
Thread ID: 78076 Message ID: 78595 # Views: 4 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Wednesday, October 5, 2005 10:33:05 PM         

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
loReportListener = NULL

Emerson Santon Reed
Microsoft Certified Professional


_ReportListener Posted by Emerson Reed @ 9/27/2005 2:06:42 PM
RE: _ReportListener Posted by Barbara Peisch @ 9/27/2005 10:49:27 PM
RE: _ReportListener Posted by Emerson Reed @ 10/5/2005 10:33:05 PM