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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
subtotal components
 Login/Join
 
Platinum Member
posted
I'm sure this is an easy question, but I'm not having any luck figuring it out.

In the following code, how would you identify the description portion of the subtotal (country, so England, W Germany....) so that you can change the font size of just the description but not the numbers?

TABLE FILE CAR
SUM
SALES AS 'SALES,FOR THIS,YEAR'
RETAIL_COST AS 'RETAIL,COST'
DEALER_COST AS 'DEALER,COST'
BY COUNTRY NOPRINT
BY BODYTYPE NOPRINT
BY MODEL
ON COUNTRY SUBHEAD
"<COUNTRY "
ON BODYTYPE SUBHEAD
"<BODYTYPE "
ON COUNTRY SUBTOTAL AS ''
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLESHEET *
TYPE = REPORT, FONT=ARIAL, SIZE=9, SQUEEZE=ON, ORIENTATION=LANDSCAPE,$
TYPE=TITLE, COLUMN=SALES, BORDER-BOTTOM=ON,$
TYPE=SUBTOTAL, BY=1, COLOR=RED, $
ENDSTYLE
END


Thanks!
Bethany


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
Platinum Member
posted Hide Post
I would like to know if there is an easier way to do this but, I found if you set the entire subtotal to the desired size for the description portion and then set the size for the number columns separately, I get the result I'm looking for.

TYPE=SUBTOTAL, BY=1, SIZE=10, $
TYPE=SUBTOTAL, BY=1, COLUMN=SALES, SIZE=20, $
TYPE=SUBTOTAL, BY=1, COLUMN=RETAIL_COST, SIZE=20, $
TYPE=SUBTOTAL, BY=1, COLUMN=DEALER_COST, SIZE=20, $


Bethany


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
Virtuoso
posted Hide Post
Bethany,

That's pretty much the only way I know of to do this.

See my post in the following thread for a bit more insight into this issue. Susannah asked this very same question not too long ago.

https://forums.informationbuilders.com/eve/forums/a/tpc/...731044792#2731044792


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Virtuoso
posted Hide Post
As Mickey states, there really isn't a way to separate the components of a SUBTOTAL line, but you can specify separate styling of individual columns, as you have done. The label (AS ''[fieldname]) is not a separately identifiable item. It may be easier to use ON COUNTRY SUBFOOT, embedding fields and subtotals, which are then separately identifiable with the ITEM=.


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
<JG>
posted
All you actually need is

TYPE=SUBTOTAL, BY=1, SIZE=10, $
TYPE=SUBTOTAL, BY=1, COLUMN=c*, SIZE=20, $

this will style all data columns
 
Report This Post
Virtuoso
posted Hide Post
Same concept as before but at least you don't have to specify individual columns. Great idea - this would be quicker than the SUBFOOT and field placement is still automatic.


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


Copyright © 1996-2020 Information Builders