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 trying to create the subtotals in a subfoot line so that I can format them with the stylesheet.
What I need in my subtotal: Column A: Should be blank Column B: Should be the value from BUSUNIT.DESCR, left justified, italic font Column C: Should be blank Column D: Sub-totaled field, right justified, italic font Column E: Sub-totaled field, right justified, italic font Column F: Sub-totaled field, right justified, italic font Column G: Sub-totaled field, right justified, italic font
Any help would be appreciated.
My Code:
JOIN CLEAR *
JOIN
LEFT_OUTER
BUSUNIT.BUSINESS_UNIT
IN BUSUNIT TO ALL BASELINE2.BUSINESS_UNIT_CODE
IN BASELINE2
AS J1
END
DEFINE FILE BUSUNIT
STATUSA/I8= IF BASELINE2.EMPLOYEE_STATUS_CODE EQ 'A' THEN 1 ELSE 0;
STATUSL/I8= IF BASELINE2.EMPLOYEE_STATUS_CODE EQ 'L' THEN 1 ELSE 0;
STATUSP/I8= IF BASELINE2.EMPLOYEE_STATUS_CODE EQ 'P' THEN 1 ELSE 0;
RECCOUNTER/I8 = 1;
SUBT1/A1 = '';
SUBT2/A15 = 'Subtotal for:';
END
TABLE FILE BUSUNIT
SUM
BUSUNIT.DESCR AS 'Business Unit Name'
BASELINE2.REPNONREP AS 'Union Represented'
STATUSA AS 'A'
STATUSL AS 'L'
STATUSP AS 'P'
RECCOUNTER AS 'Total'
BY SUBT1 NOPRINT
BY BUSUNIT.BUSINESS_UNIT AS 'Business Unit Code'
BY BUSUNIT.DESCR NOPRINT
ON BUSUNIT.BUSINESS_UNIT SUBFOOT
"<+0> <BUSUNIT.DESCR<+0> <ST.STATUSA<+0 <ST.STATUSL<+0 <ST.STATUSP<+0 <ST.RECCOUNTER"
ON TABLE SET STYLE *
TYPE=HEADING, FONT=TIMES, COLOR=BLACK, SIZE=10, STYLE=BOLD, $
TYPE=TITLE, FONT=TIMES, COLOR=NAVY, SIZE=10, STYLE=BOLD+UNDERLINE, $
TYPE=REPORT, FONT=TIMES, TITLETEXT= &WKSTITLE1, $
TYPE=GRANDTOTAL, COLOR=BLACK, SIZE=10, STYLE=BOLD, $
TYPE=SUBFOOT, COLOR=BLACK, SIZE=9, STYLE=ITALIC, HEADALIGN=BODY, $
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K
END
This message has been edited. Last edited by: Kerry,
In the TYPE=SUBFOOT section, you will need to create a line for each specific object (OBJECT=FIELD, ITEM=n) and style it appropriately using JUSTIFY=, STYLE=, POSITION= and other available options.
However, you are outputting the report to EXL2K format so many of the options you are wanting may not be available for Excel output.
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