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.
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
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.
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, 2007
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, 2007