When i try to apply the formatting below output=HTML, i get the expected result, if i try output=AHTML this does not work. Any thoughts on how to make this work for ATHML?
TYPE=DATA, ACROSSCOLUMN=N2, BACKCOLOR=LIME GREEN, WHEN=Y EQ 'U', $This message has been edited. Last edited by: Daryl H.,
Daryl Hechanova Systems Analyst Fidelity Investments
WebFOCUS 7.6 Linux for x64 64 bit, All Outputs
December 01, 2011, 03:47 AM
Wep5622
Try with WHEN=N3 EQ ... instead of 'Y'. In my experience using column names in ACROSS style-rules is unreliable at best.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
December 01, 2011, 10:42 AM
Francis Mariani
This doesn't help you at all, but it may help someone to come up with a solution: provide an example using one of the sample tables - in this way, we can tweak the code until it works. I can't see a reason why the styling doesn't work for AHTML - it works for HTML, PDF, Excel 2000 and PowerPoint.
TABLE FILE GGSALES
SUM
DOLLARS
UNITS
BY REGION
BY ST
ACROSS PRODUCT
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=DATA, ACROSSCOLUMN=DOLLARS,
BACKCOLOR=RED, WHEN=DOLLARS LT 300000, $
TYPE=DATA, ACROSSCOLUMN=DOLLARS,
BACKCOLOR=YELLOW, WHEN=DOLLARS GT 300000, $
TYPE=DATA, ACROSSCOLUMN=UNITS,
BACKCOLOR=GREEN, WHEN=UNITS LT 30000, $
TYPE=DATA, ACROSSCOLUMN=UNITS,
BACKCOLOR=LIME GREEN, WHEN=UNITS GT 30000, $
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
December 08, 2011, 10:48 AM
Daryl H.
Thank you all for the responses.
Daryl Hechanova Systems Analyst Fidelity Investments