QRP to DOC

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
Marcelo Guimarães

QRP to DOC

Post by Marcelo Guimarães » 15 Feb 2007, 21:10

 Posted by:  Marcelo Guimarães 

Hi,

How can i export data from Report (.QRP) to Word (.DOC)? it's possible?
Something like: from Report Preview to PDF, using the pdfwriter, for
example.

Thanks,
Marcelo Guimarães

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 2370
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: QRP to DOC

Post by Jeff Luther » 16 Feb 2007, 00:37

 Posted by:  Jeff Luther 

I do not know that you can directly. But, there are a couple options:
-- SalReportPrintToFile() allows you to print a report out in RTF format. I
have not used this function, but perhaps worth a try. Word can read in RTF
files.

-- Depending on your report, I see that Word 2003 supports reading in XML
and HTML files. I have a code sample on my link below showing how to create
these XML/HTML from a SQL query. Perhaps you could use this method, unless
you have lots of special formatting in your report.

-- Last, I just googled: print to word document here:
http://www.google.com/search?sourceid=navclient&aq=t&ie=UTF-8&rlz=1T4GGIH_enUS208US208&q=print+to+Word+document

and there look to be a couple converter links. Others here may have an idea
or two for you.

Best Regards,
Jeff @ PC Design
info: www.JeffLuther.net/gupta/

Return to “td.sourcecode”

Who is online

Users browsing this forum: No registered users and 0 guests