Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jahangir Khan
  Where is Jahangir Khan?
 Lahore
 Pakistan
 Jahangir Khan
 To: Barbara Peisch
  Where is Barbara Peisch?
 Oceanside
 California - United States
 Barbara Peisch
 Tags
Subject: RE: reports as html
Thread ID: 112533 Message ID: 112690 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Saturday, November 11, 2006 5:16:36 AM         
   


> > > > dear experts
> > > > when i give the command REPORT FORM report_name.frx OBJECT TYPE 5 to get the html of report the html file should be stored in the documents\temp\local\... so on i want it to save as per my choice or in the projects folder plz help me how can i do this
> > > > bye

> > >
> > > What I do is instantiate the HTML Listener and set its TargetFileName property before calling the REPORT FORM command.
> > >
> > > -BP
> > > www.peisch.com

> >
> >
> > plz how to instantiate the html listener tell in detail how can i do
> > thanx

>
> It's pretty simple:
>
> set path to (HOME()+"FFC")
> SET CLASSLIB TO _Reportlistener
> loX = CREATEOBJECT("HtmlListener")
> loX.targetFileName = "MyOutputFile"
> REPORT FORM MyREport OBJECT loX
> 

>
>
> -BP
> www.peisch.com

thanx

ENTIRE THREAD

reports as html Posted by Jahangir Khan @ 11/9/2006 12:59:04 PM
RE: reports as html Posted by Yuri Rubinov @ 11/9/2006 2:43:59 PM
RE: reports as html Posted by Barbara Peisch @ 11/9/2006 7:13:07 PM
RE: reports as html Posted by Jahangir Khan @ 11/10/2006 11:07:44 AM
RE: reports as html Posted by Barbara Peisch @ 11/10/2006 8:27:26 PM
RE: reports as html Posted by Jahangir Khan @ 11/11/2006 5:16:36 AM