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     [SOLVED] Trouble Wrapping PDF on Across Table

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Trouble Wrapping PDF on Across Table
 Login/Join
 
Platinum Member
posted
Hello,

I am not able to figure out how to wrap columns in an Across table I have created and am looking for some pointers. Here is my code:

 TABLE FILE PREV_YEAR_NEW
SUM
	COLVAL AS ''
ACROSS COLID NOPRINT
ACROSS COLTXT AS ''
ACROSS DIMDATEKEYIDTRENDINGDATE NOPRINT
ACROSS TREND_DEC NOPRINT
ACROSS DATECALENDARKEY_YEAR_M AS ''
ACROSS DATECALENDARKEY_MONTH NOPRINT
ACROSS SUMID NOPRINT
ACROSS SUMTXT AS ''
BY HEALTHPLAN AS 'Health Plan'
BY CNT_MEMBER AS 'Current,Population'
TYPE=REPORT,
	COLUMN=HEALTHPLAN,
	WRAP=.85,
$
TYPE=REPORT,
	COLUMN=N2,
	WRAP=.7,
$
TYPE=REPORT,
	ACROSSCOLUMN=P1,
	WRAP=.8,
$
TYPE=REPORT,
	COLUMN=N0,
	WRAP=.25,
$
 


When I tried to build a report in the GUI with multiple across columns, the code said to use "N0" as the column name however that didn't work.

Could someone advise how to wrap the resulting across columns?

Thanks in advance!!

This message has been edited. Last edited by: Brandon Andrathy,


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report This Post
Virtuoso
posted Hide Post
What's your output format?

N0 applies to all ACROSS fields. Does this work for you?

  
TABLE FILE WF_RETAIL
SUM 
     WF_RETAIL.WF_RETAIL_SALES.REVENUE_US
BY  WF_RETAIL.WF_RETAIL_PRODUCT.PRODUCT_CATEGORY
BY  WF_RETAIL.WF_RETAIL_PRODUCT.PRODUCT_SUBCATEG
ACROSS LOWEST WF_RETAIL.WF_RETAIL_VENDOR.VENDOR_NAME
ACROSS WF_RETAIL.WF_RETAIL_PRODUCT.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = warm,
$
TYPE=REPORT,
     COLUMN=N1,
     WRAP=0.750000,
$
TYPE=REPORT,
     COLUMN=N2,
     WRAP=0.500000,
$
TYPE=REPORT,
     COLUMN=N0,
     WRAP=0.250000,
$
ENDSTYLE
END

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


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Platinum Member
posted Hide Post
Oh my bad, PDF


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report This Post
Platinum Member
posted Hide Post
Hey Babak, that doesn't work unfortunately.

Here is my output.



I'd like to Wrap each "SUMTXT" column that says RAF Score which should either be Column = N8 or ACROSSCOLUMN = N8. Ultimately I want to just wrap each Across column in a pdf so that the column width is smaller. However, when I try Column = N1 or Column = N2, etc. That doesn't work.


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report This Post
Expert
posted Hide Post
SQUEEZE, not WRAP, for ADOBE/PDF - well-known caveat...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Platinum Member
posted Hide Post
I tried this:

TYPE=REPORT,
COLUMN=N0,
SQUEEZE=0.250000,
$

However it didn't work. Something is telling me I am referencing the column wrongly?


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report This Post
Virtuoso
posted Hide Post
I think you'll need SQUEEZE and WRAP like this:
  
TABLE FILE WF_RETAIL
SUM 
     WF_RETAIL.WF_RETAIL_SALES.REVENUE_US
BY  WF_RETAIL.WF_RETAIL_PRODUCT.PRODUCT_CATEGORY
BY  WF_RETAIL.WF_RETAIL_PRODUCT.PRODUCT_SUBCATEG
ACROSS LOWEST WF_RETAIL.WF_RETAIL_VENDOR.VENDOR_NAME
ACROSS WF_RETAIL.WF_RETAIL_PRODUCT.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = warm,
$
TYPE=REPORT,
     COLUMN=N1,
     WRAP=0.750000,
$
TYPE=REPORT,
     COLUMN=N2,
     WRAP=0.750000,
$
TYPE=REPORT,
WRAP=0.30,
SQUEEZE=ON,
$ 
ENDSTYLE
END


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Platinum Member
posted Hide Post
That unfortunately doesn't work. Across columns are still the same width and aren't budging.


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report This Post
Platinum Member
posted Hide Post
I figured it out.

This worked for me Smiler

TYPE=REPORT,
ACROSSCOLUMN=P1,
WRAP=.4,
$


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report This Post
Platinum Member
posted Hide Post
I want to also point out that having a global

 TYPE=REPORT,
        SQUEEZE=ON,
        WRAP=.25
 


Also is a part of the solution for what I was trying to do. So stoked to get little things like this to work Smiler . Thanks for the assistance in brainstorming!


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report 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     [SOLVED] Trouble Wrapping PDF on Across Table

Copyright © 1996-2020 Information Builders