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
 Brazil
 Emerson Reed
 To: Barbara Peisch
  Where is Barbara Peisch?
 Oceanside
 California - United States
 Barbara Peisch
 Tags
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
Endwith
.OnPreviewClose(.T.)
EndWith
loReportListener = NULL

Emerson Santon Reed
Microsoft Certified Professional
http://br.thespoke.net/MyBlog/EmersonReed/MyBlog.aspx

ENTIRE THREAD

_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