Well, I guess you don't. I'd build the output string myself with some type of looping mechanism building a table and doing a TEXT ... ENDTEXT. Once the string of HTML is all in memory, a STRTOFILE() will create your document with the DOC extension and then tell windows to open that file.
I'm sorry I'm short on details but I don't have my Windows machine on, just Linux. -Kevin CULLY Technologies, LLC Joe Yoder wrote: > 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/49861c5e.2030...@cullytechnologies.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.