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     Trying to align subtotal titles in accordion report?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Trying to align subtotal titles in accordion report?
 Login/Join
 
Silver Member
posted
I've got an accordion report that has 5 levels and I need to subtotal the first 3 levels. Each subtotal title is aligned to the left of the report. Does anyone know if it is possible to align the subtotal titles?
 
Posts: 37 | Location: Baltimore, MD, USA | Registered: September 06, 2006Report This Post
Gold member
posted Hide Post
use HEADALIGN=BODY in yoru stylesheet. Smiler
hope this helps Smiler

ON TABLE SET STYLE *
TYPE=SUBTOTAL, HEADALIGN=BODY,$
ENDSTYLE


~~~||~~~||~~~||~~~||~~~||~~~||~~~||~~~||~~~||~~~
PROD: WebFOCUS 7.1.3 on Win 2K/IIS 6/ISAPI Mode/Self-Serve Apps Only (No App Server)
TEST: WebFOCUS 7.1.3 on Win 2K/IIS 6/Weblogic 8.1/Servlet Mode
 
Posts: 74 | Location: Gaithersburg, MD | Registered: August 08, 2006Report This Post
Silver Member
posted Hide Post
I still can't get it to work. Here's what I've done...


TABLE FILE VW_4PRS
PRINT
OUTCOME
TOTAL
BY PROGRAMTYPE
BY REFERRALSOURCE
BY REFERRALSUMMARY

ON PROGRAMTYPE SUBTOTAL AS 'Subtotal3'

ON REFERRALSOURCE SUBTOTAL AS 'Subtotal2'

ON REFERRALSUMMARY SUBTOTAL AS 'Subtotal1'
ON TABLE SET PAGE-NUM OFF
ON TABLE SET EXPANDABLE ON
ON TABLE COLUMN-TOTAL AS 'TOTAL'
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=10,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
$
TYPE=DATA,
HGRID=ON,
VGRID=OFF,
FONT='TIMES NEW ROMAN',
BACKCOLOR=RGB(255 255 232),
$
TYPE=TITLE,
HGRID=ON,
VGRID=OFF,
BACKCOLOR=RGB(208 238 162),
STYLE=BOLD,
$
TYPE=TABHEADING,
GRID=OFF,
SIZE=12,
STYLE=BOLD,
$
TYPE=TABFOOTING,
GRID=OFF,
SIZE=12,
STYLE=BOLD,
$
TYPE=HEADING,
SIZE=12,
STYLE=BOLD,
$
TYPE=FOOTING,
SIZE=12,
STYLE=BOLD,
$
TYPE=SUBTOTAL,
BY=1,
HGRID=ON,
VGRID=OFF,
BACKCOLOR=RGB(239 239 239),
HEADALIGN=BODY,
$
TYPE=ACROSSVALUE,
SIZE=9,
$
TYPE=ACROSSTITLE,
STYLE=BOLD,
$
TYPE=GRANDTOTAL,
HGRID=HEAVY,
VGRID=OFF,
BACKCOLOR=RGB(208 238 162),
STYLE=BOLD,
$
ENDSTYLE
END


Thanks!


WebFOCUS 7.1.4
WIN XP/SP2
 
Posts: 37 | Location: Baltimore, MD, USA | Registered: September 06, 2006Report This Post
Guru
posted Hide Post
HEADALIGN doesn't work for PDF.
Neither does ACCORDION reports.

Anyway, I don't know of any way to Align a SUBTOTAL label except by putting a bunch of leading spaces in the name.
  
ON PROGRAMTYPE SUBTOTAL AS '           Subtotal3'


(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
Silver Member
posted Hide Post
Thanks N.Selph, but I was hoping you wouldn't say that...


Thanks!


WebFOCUS 7.1.4
WIN XP/SP2
 
Posts: 37 | Location: Baltimore, MD, USA | Registered: September 06, 2006Report This Post
Silver Member
posted Hide Post
The solution... Use SUBFOOT in place of Subtotal. The SUBFOOT has the alignment property which allows you to align the subtotal with the corresponding column.

TYPE=SUBFOOT, BY=2, POSITION='N2', $

This will place the second SUBFOOT vertically aligned with the second column of data.


Thanks!


WebFOCUS 7.1.4
WIN XP/SP2
 
Posts: 37 | Location: Baltimore, MD, USA | Registered: September 06, 2006Report 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     Trying to align subtotal titles in accordion report?

Copyright © 1996-2020 Information Builders