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] Borders not working

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Borders not working
 Login/Join
 
Gold member
posted
Hi,

I'm trying to add borders to my table but it won't show. Here is a car file eg:

TABLE FILE CAR
SUM
COMPUTE Profit/D2.1% = CAR.BODY.DEALER_COST - CAR.BODY.RETAIL_COST;
CAR.BODY.SALES
BY CAR.ORIGIN.COUNTRY
WHERE COUNTRY NE 'ENGLAND';
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=REPORT,
GRID=OFF,
BORDER-TOP=HEAVY,
BORDER-BOTTOM=HEAVY,
BORDER-BOTTOM-STYLE=SOLID,
BORDER-BOTTOM-COLOR=GREEN,
BORDER-LEFT=OFF,
BORDER-RIGHT=OFF,
RIGHTGAP=0.180556,
LEFTGAP=0.069444,
TOPGAP=0.069444,
BOTTOMGAP=0.069444,$
END

Thank you in advance.

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


WebFOCUS 8.2.02
Windows, All Outputs
 
Posts: 95 | Registered: May 16, 2016Report This Post
Expert
posted Hide Post
Add
ON TABLE SET HTMLCSS ON
before
ON TABLE SET STYLE *


Documentation: Creating Reports With WebFOCUS Language > Laying Out the Report Page > Adding Grids and Borders

quote:
By default, an HTML report contains horizontal and vertical grid lines. You can remove the grid lines or adjust their use on a horizontal (BY) sort field. Grid characteristics apply to an entire HTML report, not to individual components of a report.

You can emphasize headings, footings, and column titles in a report by adding borders and grid lines around them.

Borders: In an HTML, PDF, EXL2K, or PS report, you can use BORDER attributes in a StyleSheet to specify the weight, style, and color of border lines. If you wish, you can specify formatting variations for the top, bottom, left, and right borders. BORDERS only work with the following syntax because they can only be implemented with internal cascading style sheets:

ON TABLE SET HTMLCSS ON


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
Gold member
posted Hide Post
quote:
ON TABLE SET HTMLCSS ON

Thank you very much Francis, it worked.


WebFOCUS 8.2.02
Windows, All Outputs
 
Posts: 95 | Registered: May 16, 2016Report 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] Borders not working

Copyright © 1996-2020 Information Builders