Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     compound report and output option variable

Read-Only Read-Only Topic
Go
Search
Notify
Tools
compound report and output option variable
 Login/Join
 
Gold member
posted
Hi,

I have a compound report with three reports embedded in it.One of them is a GRAPH in PNG format. I created an output option variable and using it in all the reports.HTML format works great. But when I tried to export it to excel/pdf/ppt its not working. I am getting -

MIME-Version: 1.0 X-Document-Type: Workbook Content-Type: multipart/related; boundary="====Boundary====" --====Boundary==== Content-Location: file:///C:/HOLD.XHT Content-Transfer-Encoding: 8bit Content-Type: text/html; charset="us-ascii" --====Boundary==== Content-Location: file:///C:/IBIT0001.xht Content-Transfer-Encoding: 8bit Content-Type: text/html; charset="us-ascii" -- FOR THE SECOND REPORT WHICH IS A GRAPH

--====Boundary==== Content-Location: file:///C:/IBIT0002.xht Content-Transfer-Encoding: 8bit Content-Type: text/html; charset="us-ascii" - FOR THE FIRST REPORT

--====Boundary====-- FOR THE THIRD REPORT

So, I removed the chart (for testing purpose) and tried with just the 2 reports. It works but for PDF and PPT format, its breaking the columns. The
columns which don't fit in the page are being moved to next page. I want all the columns to be on one page.

&OUTPUT could be HTML/EXL2K/PDF/PPT

ON TABLE PCHOLD FORMAT &OUTPUT OPEN -- for the first report
ON TABLE PCHOLD FORMAT &OUTPUT CLOSE-- for the second report


Please advise.

Thank you.
KK


Test - Webfocus 7.6.7
Prod - Webfocus 7.6.7
Win2003
Sql Server 2000 and 2008
 
Posts: 59 | Registered: May 01, 2007Report This Post
Virtuoso
posted Hide Post
You've only got so much real estate when working with printed output. Try setting SQUEEZE=ON, using a smaller font, using WIDTH=to force wrapping in columns, move BY fields into subheadings, decreasing spaces between columns. Hard to give a specific solution without more detail.
Also, are you aware that to get graphics into PDF reports, you first need to create the image, hold it (FORMAT PNG, JPG, or whatever) then insert the image into a second report? This technique is described in the documentation.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Gold member
posted Hide Post
Darin,

Can you provide me with an example (code) for exporting graphs.

Thank you.
KK


Test - Webfocus 7.6.7
Prod - Webfocus 7.6.7
Win2003
Sql Server 2000 and 2008
 
Posts: 59 | Registered: May 01, 2007Report This Post
Virtuoso
posted Hide Post
Here's a quick example - I've taken a lot of the stylesheet code out.
 GRAPH FILE CLAIMS
SUM TOTL_INCR AS ''
ACROSS RENEWAL_YR AS 'Renewal Year'
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D ON
ON GRAPH SET VZERO OFF
ON GRAPH SET GRID ON
ON GRAPH SET VAXIS 500
ON GRAPH SET HAXIS 1600
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRAPHSTYLE *
ENDSTYLE
ON GRAPH HOLD AS INCUR FORMAT JPEG
END
-RUN
TABLE FILE CLAIMS
HEADING
"Trend by Renewal Period for Claims Filed and Incurred Costs"
"<POL_NAM - &POLNBR.EVAL &LOCHEAD.EVAL &DEPTHEAD.EVAL "
"Run on &DATEtrMDYY "
" "
SUM CLMCNT NOPRINT
WHERE READLIMIT EQ 1
FOOTING BOTTOM
"Page <TABPAGENO "
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
     LEFTMARGIN  =0.50000,
     RIGHTMARGIN =0.50000,
     TOPMARGIN   =0.250000,
     BOTTOMMARGIN=0.250000,
     ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='TIMES NEW ROMAN',
     SIZE= 10 ,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
$
TYPE=HEADING,
     SIZE=12,
     STYLE=BOLD,
     JUSTIFY=CENTER,
$
TYPE=HEADING, IMAGE= INCUR.jpg ,  SIZE=(10.5 3.500),  POSITION=( 0.2500 3.500 ),$
TYPE=FOOTING, SIZE=7, JUSTIFY=CENTER,$
ENDSTYLE
ON TABLE PCHOLD FORMAT &OUTPUT
END 


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Gold member
posted Hide Post
Darin,

Thanks a lot. It worked!!. There is one problem though,

I am getting the graph and data in PDF and PPT formats but the data is not properly aligned.
I don't need the data in these formats.

In excel format I am getting the data but not the graph. Any ideas ?

And the graph is not working in a compound report. It probably needs to be on its own.

KK.

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


Test - Webfocus 7.6.7
Prod - Webfocus 7.6.7
Win2003
Sql Server 2000 and 2008
 
Posts: 59 | Registered: May 01, 2007Report This Post
Virtuoso
posted Hide Post
Graph works fine for me in a compound report. I'll have to look at the Excel stuff I don't use that very much


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     compound report and output option variable

Copyright © 1996-2020 Information Builders