VFP 9 can output to HTML using Report Listeners ...
*-- Make sure the HTML file doesn't exist ERASE MyHTMLOutput.HTM *-- Create the Listener class SET CLASSLIB TO HOME() + 'FFC\_REPORTLISTENER' ox = CREATEOBJECT('htmlListener') *-- Set some properties ox.TargetFileName = 'MyHTMLOutput' *-- Run the report REPORT FORM Whatever OBJECT ox > -----Original Message----- > From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On > Behalf Of Joe Yoder > Sent: Sunday, February 01, 2009 1:10 AM > To: profoxt...@leafe.com > Subject: Re: Producing a report with photos as a Word file > > Sounds like a great trick Kevin! But how do I tell the report writer to > output HTML? > > Thank - joe > > On Saturday, January 31, 2009 11:08 AM, Kevin Cully wrote: > > > >Date: Sat, 31 Jan 2009 11:08:30 -0500 > >From: Kevin Cully > >To: profoxt...@leafe.com > >cc: > >Subject: Re: Producing a report with photos as a Word file > > > >Hello Joe, > > > >Dave Bernard clued me in on this trick. Word will read and render HTML > >files, even if that HTML file has the DOC extension. > > > >Spit out your report in HTML format but give it a DOC extension and have > >Foxpro launch the document with the default program (M$ Word) and it > >should come up with pictures and all. > > > >-Kevin > >CULLY Technologies, LLC > > > > > >Joe Yoder wrote: > >> I need to produce a report from a canned system that is written in > Foxpro. The system has data and links to photos for groups and has some > canned reports but none that allow a report with one group's information > per page. The secretary who will print binder pages is most comfortable > in Word. When she is making up a new binder, she will print the entire > Word document. When there are changes to the data or photo for one group, > she will print multiple copies of the single page with the changes. > >> > >> The goal is to have the secretary run my app which will produce an > updated Word file from the Foxpro database and associated photos. She can > then make final tweaks if necessary and print as much or little as required > in her familiar environment. > >> > >> Any counsel for the most reliable straight forward way to achieve this > would be appreciated. Alternative suggestions will be welcomed as well. > >> > >> Thanks in advance, > >> > >> Joe Yoder > >> > >> > >> --- StripMime Report -- processed MIME parts --- > >> multipart/alternative > >> text/plain (text body -- kept) > >> text/html > >> --- > >> [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/000c01c98538$99ac2bb0$cd0483...@com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.