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]Wrap text on ROW-TOTAL AS Name

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved]Wrap text on ROW-TOTAL AS Name
 Login/Join
 
Member
posted
I need to wrap the text on my ROW-TOTAL and so far I have not been successful. I would like the text to wrap after the word 'billed'. Any suggestions?

 TABLE FILE CAR
SUM
     DEALER_COST
ACROSS COUNTRY NOPRINT
ACROSS CAR AS ' '
ON TABLE ROW-TOTAL AS 'Total Amount Billed (Current Period)'
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
$
TYPE=TITLE,
     COLUMN=ROWTOTAL(1),
     COLOR='RED',
     STYLE=BOLD,
     JUSTIFY=CENTER,
$
TYPE=ACROSSVALUE,
     ACROSS=2,
     COLUMN=ROWTOTAL(1),
     COLOR='RED',
     STYLE=BOLD,
     JUSTIFY=CENTER,
	 WRAP=0.250000,
$
TYPE=REPORT,
     COLUMN=N2,
     WRAP=0.250000,
$
ENDSTYLE
END 



WebFOCUS 7.703

This message has been edited. Last edited by: ChadSS,
 
Posts: 26 | Location: Jackson, MS | Registered: January 22, 2010Report This Post
Virtuoso
posted Hide Post
Hi Chad

Try this...


TABLE FILE CAR
SUM
CAR.BODY.DEALER_COST
ACROSS CAR.ORIGIN.COUNTRY NOPRINT
ACROSS CAR.COMP.CAR AS ' '
ON TABLE ROW-TOTAL AS 'Total Amount Billed (Current Period)'
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
$
TYPE=REPORT,
WRAP=1.5,
$
TYPE=TITLE,
COLUMN=ROWTOTAL(1),
COLOR='RED',
STYLE=BOLD,
JUSTIFY=CENTER,
$
TYPE=ACROSSVALUE,
ACROSS=2,
COLUMN=ROWTOTAL(1),
COLOR='RED',
STYLE=BOLD,
JUSTIFY=CENTER,
$
ENDSTYLE
END


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Expert
posted Hide Post
Try
TYPE=REPORT, COLUMN=ROWTOTAL(1), WRAP=0.25, $


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
 $
TYPE=REPORT,
 WRAP=1.5,
$  


That does work, but unfortunately affects all fields within the report. I wanted to isolate the wrap to the one field.
 
Posts: 26 | Location: Jackson, MS | Registered: January 22, 2010Report This Post
Member
posted Hide Post
quote:
Originally posted by Francis Mariani:
Try
TYPE=REPORT, COLUMN=ROWTOTAL(1), WRAP=0.25, $


I tried that without success. I actually found it in one of your posts from years ago.
 
Posts: 26 | Location: Jackson, MS | Registered: January 22, 2010Report This Post
Expert
posted Hide Post
Seems to work for me:



-* File chadss_1.fex
TABLE FILE CAR
SUM
     CAR.BODY.DEALER_COST
ACROSS CAR.ORIGIN.COUNTRY NOPRINT
ACROSS CAR.COMP.CAR AS ' '
ON TABLE ROW-TOTAL AS 'Total Amount Billed (Current Period)'
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
$
TYPE=TITLE,
     COLUMN=ROWTOTAL(1),
     COLOR='GREEN',
     STYLE=BOLD,
     JUSTIFY=LEFT,
$
TYPE=ACROSSVALUE,
     ACROSS=2,
     COLUMN=ROWTOTAL(1),
     COLOR='RED',
     STYLE=BOLD,
     JUSTIFY=LEFT,
$
TYPE=REPORT,
     COLUMN=N2,
     COLOR='BLUE',
     WRAP=0.250000,
$

TYPE=REPORT, COLUMN=ROWTOTAL(1), WRAP=1.0, $

ENDSTYLE
END


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
quote:
TYPE=REPORT, COLUMN=ROWTOTAL(1), WRAP=1.0, $


Francis, as always, you are correct. I neglected to add the COLUMN=ROWTOTAL with the TYPE=REPORT. I was using it with the TYPE=ACROSSVALUE. Thanks for your help
 
Posts: 26 | Location: Jackson, MS | Registered: January 22, 2010Report 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]Wrap text on ROW-TOTAL AS Name

Copyright © 1996-2020 Information Builders