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.
The following example works in v5.3.2 EXL2K - the Across Column SALES is coloured green. In v7.6.5 it is the default color black, and the data is not formatted as D9.2M. For PDF and HTML it works as expected. For EXL2K the wrong field is displayed - SALES is displayed without the reformat. Of course, I know of a few workarounds, but I'd rather not have to modify a pile of programs.
-SET &OUTFMT = 'EXL2K';
-*SET &OUTFMT = 'PDF';
-*SET &OUTFMT = 'HTML';
TABLE FILE CAR
SUM
SALES/D9.2M AS ''
ACROSS COUNTRY AS 'SALES'
BY SEATS
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
TYPE=REPORT, FONT='ARIAL', SIZE=8, COLOR=BLUE, $
TYPE=REPORT, ACROSSCOLUMN=SALES, COLOR=GREEN, $
TYPE=TITLE, STYLE=BOLD, $
ENDSTYLE
ON TABLE PCHOLD FORMAT &OUTFMT
END
This message has been edited. Last edited by: Francis Mariani,
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
this was probably one of the workarounds you had in mind but this is what i would have done first as i wouldn't consider the sales column an across column
Developer Studio 7.64 Win XP Output: mostly HTML, also Excel and PDF
"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
Posts: 285 | Location: UK | Registered: October 26, 2007
TABLE FILE CAR
PRINT DEALER_COST
ACROSS COUNTRY
BY CAR
ON TABLE SET STYLE *
TYPE=DATA, ACROSSCOLUMN=DEALER_COST, COLOR=RED, WHEN=DEALER_COST GT 9000, $
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K
END
Seems to work.
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
TABLE FILE CAR
PRINT
DEALER_COST
COUNTRY NOPRINT
ACROSS COUNTRY
BY CAR
ON TABLE SET STYLE *
TYPE=DATA, ACROSSCOLUMN=DEALER_COST, COLOR=RED, WHEN=COUNTRY EQ 'ITALY', $
ENDSTYLE
-*ON TABLE PCHOLD FORMAT EXL2K
END
This changes the report output a tiny bit, because more than one column is specified in the PRINT (DEALER_COST and COUNTRY).
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
I passed this one internally and was suggested that the issue can be reproduced in 768. It is better to contact Information Builders' Customer Support Services and open a case for this problem so that it can be submitted to appropriate department to address it.
To open a case, you may either call at 1-800-736-6130, or access online at InfoResponse.
Hope this helps.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
Posts: 1948 | Location: New York | Registered: November 16, 2004
TABLE FILE CAR SUM SALES/D9.2M AS '' ACROSS COUNTRY AS 'SALES' BY SEATS ON TABLE SET PAGE NOLEAD ON TABLE SET STYLE * TYPE=REPORT, FONT='ARIAL', SIZE=8, COLOR=BLUE, $ TYPE=REPORT, ACROSSCOLUMN=SALES, COLOR=GREEN, $ TYPE=TITLE, STYLE=BOLD, $ ENDSTYLE ON TABLE PCHOLD FORMAT &OUTFMT END
You are right..
what about:
-SET &OUTFMT = 'EXL2K';
-*SET &OUTFMT = 'PDF';
-*SET &OUTFMT = 'HTML';
TABLE FILE CAR
SUM
SALES/D9.2M AS ''
ACROSS COUNTRY AS 'SALES'
BY SEATS
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
TYPE=REPORT, FONT='ARIAL', SIZE=8, COLOR=BLUE, $
TYPE= ACROSSTITLE, COLOR=GREEN, $
TYPE=REPORT, ACROSSCOLUMN=N1, COLOR=GREEN, $
TYPE=TITLE, STYLE=BOLD,COLOR=GREEN, $
ENDSTYLE
ON TABLE PCHOLD FORMAT &OUTFMT
END
its still not quite there but the ACCROSSCOLUMN=N1 should give you a starting point?
Developer Studio 7.64 Win XP Output: mostly HTML, also Excel and PDF
"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
Posts: 285 | Location: UK | Registered: October 26, 2007
Thank you very much nubi, for being less narrow-minded than me - you are absolutely right, column notation fixed the problem.
to be honest its not obvious and i spent simply ages trying to work this out, it also doesn't appeal to my preference for precise code so i had also discounted the idea....
ive just tried to explain why but deleted the paragraph as i was confusing the issue - ill try again tomorrow as i must get off.
Developer Studio 7.64 Win XP Output: mostly HTML, also Excel and PDF
"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
Posts: 285 | Location: UK | Registered: October 26, 2007
This issue has been addressed and tested successfully in WebFOCUS release 769 which is not yet available. We won't be able to obtain a hotfix for release 765.
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