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     Underline/Double Underline totals

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Underline/Double Underline totals
 Login/Join
 
Platinum Member
posted
Can anyone give me an example of how to code for an underline on subtotals and a double underline for grand totals?
I am building a financial report and they want to see this as a standard view for financial reports. I have heard there is a way to do this in WEBFOCUS, but since we are running DB2 WebQuery, I'll have to edit the source manually to get this to work.


WebFOCUS: 7702
O/S : Windows
Data Migrator: 7702
 
Posts: 127 | Location: San Antonio | Registered: May 29, 2009Report This Post
Expert
posted Hide Post
This shows how to include double and single borders on specific elements of a Financial report in HTML format:

SET PAGE-NUM=OFF
TABLE FILE LEDGER
SUM AMOUNT FOR ACCOUNT
1010 AS 'CASH ON HAND'    LABEL CASH    OVER
1020 AS 'DEMAND DEPOSITS' LABEL DD      OVER
1030 AS 'TIME DEPOSITS'   LABEL TD      OVER
RECAP TOTCASH = R1 + R2 + R3; AS 'TOTAL CASH'  
ON TABLE SET ONLINE-FMT HTML 
ON TABLE SET HTMLCSS ON 
ON TABLE SET STYLESHEET *
TYPE=REPORT, GRID=OFF, $  
TYPE=REPORT, LABEL=TOTCASH, 
  BORDER-TOP=ON, BORDER-TOP-STYLE=DOUBLE, 
  BORDER-BOTTOM=LIGHT, BORDER-BOTTOM-STYLE=SOLID, $ 
ENDSTYLE
END


The double line does seem to work in PDF reports.

Documentation: Creating Reports With WebFOCUS Language > Creating Financial Reports With Financial Modeling Language (FML) > Formatting an FML Report > Add and Format Row and Cell Borders


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
You can also just use the functionality built into FML for creating underlines:

BAR AS '-' creates a single underline

BAR AS '=' creates a double underline

Just put the appropariate BAR statement wherever you want the underlines to appear.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report 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     Underline/Double Underline totals

Copyright © 1996-2020 Information Builders