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     [CLOSED] ACROSSVALUE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] ACROSSVALUE
 Login/Join
 
Silver Member
posted
Hello everybody,
I've a fex using ACROSS verb.
The acrossvalues are too large for a sexy appearance said the end-user.
So is there any method to change dynamically the values printed without changing them in the file ( like the AS phrase for title's column).

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


WebFocus thru Dev Studio version 7.6.11
Dev Studio on Windows Xp, Webfocus Client on UNIX basing on TOMCAT and DB2,
Reporting Server on MVS , USS and on UNIX
 
Posts: 39 | Location: France | Registered: December 10, 2007Report This Post
<FreSte>
posted
There is a thread on this one (posted by j.gross) , see here
 
Report This Post
Silver Member
posted Hide Post
Thank's FreSte
I've looked for the thread but it's not the same subject.
My fex looks like this :
DEFINE FILE CAR
TITRE/A50=DECODE COUNTRY ('ENGLAND' 'ANGLE,TERRE' 'FRANCE' 'FRANCE' 'ITALY' 'Rép., ITALIENNE' 'JAPAN' 'Empire du, Soleil, Levant' ELSE 'N.A');
END
TABLE FILE CAR
SUM
DEALER_COST
BY CAR
ACROSS TITRE
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
I hope the result will be for the acrossvalues
ANGLE FRANCE Rép. Empire du
TERRE Italienne Soleil
Levant
But it is
ANGLE, TERRE FRANCE Rép, ITALIENNE Empire du,Soleil, Levant

Is it possible ?


WebFocus thru Dev Studio version 7.6.11
Dev Studio on Windows Xp, Webfocus Client on UNIX basing on TOMCAT and DB2,
Reporting Server on MVS , USS and on UNIX
 
Posts: 39 | Location: France | Registered: December 10, 2007Report This Post
Expert
posted Hide Post
Philippe, SQUEEZE might work for you (remove the commas from the TITRE values):

DEFINE FILE CAR
TITRE/A50=DECODE COUNTRY ('ENGLAND' 'ANGLE TERRE' 'FRANCE' 'FRANCE' 'ITALY' 'RÉP. ITALIENNE' 'JAPAN' 'EMPIRE DU SOLEIL LEVANT' ELSE 'N.A');
END
TABLE FILE CAR
SUM
DEALER_COST
BY CAR
ACROSS TITRE AS ''
ON TABLE NOTOTAL
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, FONT='ARIAL', SIZE=8,
$

TYPE=ACROSSVALUE, COLOR=GREEN, WRAP=0.5, JUSTIFY=RIGHT, $
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
Silver Member
posted Hide Post
Francis I'm trying WRAP option but it's not work cause I've not this option on my WF version - WF 7.6.11.


WebFocus thru Dev Studio version 7.6.11
Dev Studio on Windows Xp, Webfocus Client on UNIX basing on TOMCAT and DB2,
Reporting Server on MVS , USS and on UNIX
 
Posts: 39 | Location: France | Registered: December 10, 2007Report This Post
Expert
posted Hide Post
Try SQUEEZE, not WRAP. They both are definitely available in 7.6.11, but they behave differently depending on the output = PDF, EXL2K, HTML...


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
Silver Member
posted Hide Post
Francis, I was wrong, I have the option of course it was a coding mistake.
But even I code WRAP=0.25 there is no change to my report.


WebFocus thru Dev Studio version 7.6.11
Dev Studio on Windows Xp, Webfocus Client on UNIX basing on TOMCAT and DB2,
Reporting Server on MVS , USS and on UNIX
 
Posts: 39 | Location: France | Registered: December 10, 2007Report This Post
Expert
posted Hide Post
quote:
TYPE=ACROSSVALUE, COLOR=GREEN, WRAP=0.5, JUSTIFY=RIGHT, $

seems to work in my example. There may be something else that's disabling it.

For instance, this doesn't work - if I remove AS '' from TITRE, it works. So adding a border can affect the result, AS '' can affect the result...

DEFINE FILE CAR
TITRE/A50=DECODE COUNTRY ('ENGLAND' 'ANGLE TERRE' 'FRANCE' 'FRANCE' 'ITALY' 'RÉP. ITALIENNE' 'JAPAN' 'EMPIRE DU SOLEIL LEVANT' ELSE 'N.A');
END
TABLE FILE CAR
SUM
DEALER_COST
BY CAR
ACROSS TITRE AS ''
ON TABLE NOTOTAL
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, FONT='ARIAL', SIZE=8, $
TYPE=REPORT, BORDER=1, BORDER-COLOR=SILVER, $
TYPE=ACROSSVALUE, COLOR=GREEN, WRAP=0.5, JUSTIFY=RIGHT, $
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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] ACROSSVALUE

Copyright © 1996-2020 Information Builders