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] Conditional Formatting for AHTML and ACROSS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Conditional Formatting for AHTML and ACROSS
 Login/Join
 
Gold member
posted
I can't get my conditional formatting to work for output type AHTML even though it works with HTML.

This code will not execute the formatting, switching the formatting to HTML will fix it.

Thanks for the help!

TABLE FILE CAR
SUM SALES
ACROSS HIGHEST COUNTRY
BY MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ONLINE-FMT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
BORDER=LIGHT,
FONT='ARIAL',
SIZE=8,
$
TYPE=DATA,
ACROSSCOLUMN=N1,
STYLE=NORMAL,
COLOR=RED,
WHEN=N2 GT 0,
$
END

This message has been edited. Last edited by: <Kathryn Henning>,


version 8202M
Reporting Server on
Windows Server using DB2 Connect to access data from iseries.
 
Posts: 78 | Registered: December 29, 2009Report This Post
Expert
posted Hide Post
This should work:

TABLE FILE CAR
SUM SALES
ACROSS HIGHEST COUNTRY
BY MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ONLINE-FMT
HTML
AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
BORDER=LIGHT,
FONT='ARIAL',
SIZE=8,
$
TYPE=DATA,
ACROSSCOLUMN=SALES,
STYLE=NORMAL,
COLOR=RED,
WHEN=SALES GT 0,
$
END

I've never understood why the WebFOCUS GUI generates style sheet attributes based on the positional thingy.

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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
What do you assume N1 and N2 to be and why are they different?


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
Virtuoso
posted Hide Post
Francis, your output it still in HTML where styling does work, but in AHTML seems un-effective...


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Expert
posted Hide Post
Oops, my bad. I've changed the output format and it works:

TABLE FILE CAR
SUM SALES
ACROSS HIGHEST COUNTRY
BY MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ONLINE-FMT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
BORDER=LIGHT,
FONT='ARIAL',
SIZE=8,
$
TYPE=DATA,
ACROSSCOLUMN=SALES,
STYLE=NORMAL,
COLOR=RED,
WHEN=SALES GT 0,
$
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] Conditional Formatting for AHTML and ACROSS

Copyright © 1996-2020 Information Builders