Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Go
New
Search
Notify
Tools
Reply
  
[SHARING] .DOC
 Login/Join
 
Platinum Member
posted
Hi,

It's been awhile since I have done any webfocus and was wondering if there was anything out there that allowed output to Word (.doc). I have seen and tested the output to HTMTABLE and then setting the html output to DOC and that sort of is the idea, but I need way more formatting, compounding and dynamic reporting options than that could give me.

I'm pretty sure that on some level it could be worked out, but I wouldn't be utilizing WebFOCUS for what it was. Any options that can be recommended?

Are there other BI tools that would fit my requirements?

Thank you for your feedback.

Dev, SIT, UAT, Production:7.6.11
Dev Studio - 7.6.11

This message has been edited. Last edited by: Kerry,


Dev, SIT, UAT, Production:7.6.6
Dev Sandbox:7.6.11

Dev Studio - 7.6.6
 
Posts: 178 | Registered: May 11, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
WebFOCUS hasn't supported DOC format very will in the past.

I think there have been some examples of DOC format posted in the past on the forum.

Here is a sample that utilises HTMLFORMTYPE to return a HTML report as a DOC format.

It also adds proper page breaks.

DEFINE FILE CAR
 PageBreak/A200 = '</FONT></TD></TR></table><span><br clear=all style=''mso-special-character:line-break;page-break-before:always''>'
                | '</span><TABLE X:STR BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD>' ;
END

TABLE FILE CAR
HEADING
"DOC Test"

PRINT CAR MODEL BODYTYPE
BY    COUNTRY PAGE-BREAK

FOOTING BOTTOM
"<PageBreak"
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
 TYPE=TITLE, STYLE=BOLD, BACKCOLOR=YELLOW, COLOR=BLUE, $
 TYPE=DATA, COLUMN=CAR, COLOR=RED, $
 TYPE=HEADING, STYLE=BOLD, SIZE=14, COLOR=PURPLE, FONT=ARIAL, $
ENDSTYLE

ON TABLE HOLD AS H_DOC2 FORMAT EXL2K
END

-RUN

SET HTMLFORMTYPE = DOC

-HTMLFORM H_DOC2


I think you will find that other tools will support DOC format more completely than WebFOCUS. (Unless there are new features in newer versions)


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6325 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 


Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.