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/