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     One Border Around Entire Data Section

Read-Only Read-Only Topic
Go
Search
Notify
Tools
One Border Around Entire Data Section
 Login/Join
 
Platinum Member
posted
Is there a way to put one border around the entire data section? In the following example, each and every cell in the data section has a border:

SET HTMLCSS = ON
SET BYDISPLAY = ON

TABLE FILE CAR
PRINT SALES
BY COUNTRY
BY CAR
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET STYLE *
TYPE=TITLE, BORDER=LIGHT, BORDER-STYLE=RIDGE, BORDER-COLOR=RED, $
TYPE=DATA, BORDER=LIGHT, BORDER-STYLE=SOLID, BORDER-COLOR=BLUE,$
ENDSTYLE
END

Thanks,
Sean


------------------------------------------------------------------------
PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
 
Posts: 210 | Location: Ottawa | Registered: November 03, 2005Report This Post
Expert
posted Hide Post
The quick answer:

SET HTMLCSS = ON
SET BYDISPLAY = ON

TABLE FILE CAR
PRINT SALES
BY COUNTRY
BY CAR
ON TABLE HOLD AS H001 FORMAT HTMTABLE
ON TABLE SET STYLE *
TYPE=TITLE, BORDER=LIGHT, BORDER-STYLE=RIDGE, BORDER-COLOR=RED, $
ENDSTYLE
END
-RUN

-HTMLFORM BEGIN
<SPAN style="border: 1px solid blue;">
!IBI.FIL.H001;
</SPAN>
-HTMLFORM 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
Platinum Member
posted Hide Post
Francis,

Thanks for that interesting example. I notice this technique will surround the entire report, include TITLE, HEADING, FOOTING, etc with a border.

But is there a way to surround only the DATA section with a border? And can this be done in native WebFocus, or must HTML be used?

Thanks,
Sean


------------------------------------------------------------------------
PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
 
Posts: 210 | Location: Ottawa | Registered: November 03, 2005Report This Post
Expert
posted Hide Post
Sorry, I did not take that into account.

Unfortunately, I don't think it's possible. If WebFOCUS would generate <TH - Table Header tags and <TBODY - Table Body tags to separate the HEading and column titles from the report body, then you probably could use CSS styling to put a border around the body of the report.

You could perhaps use a border-bottom on the column titles and a border-top on a footing and thus get two out of the four borders! Then, perhaps, you could use a border-left on the first data column and a border-right on the last data-column - all this sounds pretty ugly, and there may be gaps in the border...

Sorry I can't be of any more help.


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
Platinum Member
posted Hide Post
Thanks for your assistance Francis!

Sean


------------------------------------------------------------------------
PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
 
Posts: 210 | Location: Ottawa | Registered: November 03, 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     One Border Around Entire Data Section

Copyright © 1996-2020 Information Builders