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.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
I know this is probably a simple thing but I just can't get it to do what I want. I would like a subhead between the titles and the start of the data, and a subfoot between the end of the data and the subtotals. The following code is close to what I want but if you run it, you will see that the subfoot appear AFTER the subtotal. Any suggestions ?
TABLE FILE CAR PRINT CAR MODEL SEATS BY COUNTRY WHERE COUNTRY EQ 'ENGLAND' OR 'ITALY'; ON COUNTRY SUBHEAD "subhead" ON COUNTRY SUBFOOT "subfoot" ON COUNTRY SUBTOTAL AS '*'
TABLE FILE CAR
PRINT CAR MODEL SEATS
BY COUNTRY
WHERE COUNTRY EQ 'ENGLAND' OR 'ITALY';
ON COUNTRY SUBHEAD
"subhead"
ON COUNTRY SUBFOOT
"subfoot"
"<COUNTRY <+0> <+0><ST.SEATS "
-*ON COUNTRY SUBTOTAL AS '*'
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
FONT='ARIAL',
SIZE=9,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
$
TYPE=DATA,
SIZE=8,
$
TYPE=TITLE,
BORDER=LIGHT,
BORDER-STYLE=RIDGE,
BORDER-COLOR=RGB(51 51 153),
SIZE=9,
COLOR='BLACK',
STYLE=BOLD,
$
TYPE=SUBTOTAL,
BORDER=LIGHT,
BORDER-STYLE=RIDGE,
BORDER-COLOR=RGB(51 51 153),
SIZE=9,
COLOR='BLACK',
STYLE=BOLD,
$
TYPE=SUBFOOT, HEADALIGN=BODY, $
ENDSTYLE
ON TABLE NOTOTAL
END
Ian, this gets you most of the way. Unfortunately, there's a border alignment problem for the last component of the subfoot subtotal, which ALIGN-BORDERS is supposed to fix, but doesn't seem to.
-* File ian_dalton_2.fex
TABLE FILE CAR
PRINT CAR MODEL SEATS
BY COUNTRY
WHERE COUNTRY EQ 'ENGLAND' OR 'ITALY';
ON COUNTRY SUBHEAD
"Subhead"
ON COUNTRY SUBFOOT WITHIN
"Subfoot"
"<COUNTRY <+0> <SEATS"
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
FONT='ARIAL',
SIZE=9,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
$
TYPE=REPORT, ALIGN-BORDERS=BODY, $
TYPE=TITLE,
BORDER=LIGHT,
BORDER-STYLE=RIDGE,
BORDER-COLOR=RGB(51 51 153),
STYLE=BOLD,
$
TYPE=SUBTOTAL,
BORDER=LIGHT,
BORDER-STYLE=RIDGE,
BORDER-COLOR=RGB(51 51 153),
STYLE=BOLD,
$
TYPE=SUBFOOT, HEADALIGN=BODY, $
TYPE=SUBFOOT, LINE=2, ITEM=1,
BORDER=LIGHT,
BORDER-STYLE=RIDGE,
BORDER-COLOR=RGB(51 51 153),
STYLE=BOLD,
$
TYPE=SUBFOOT, LINE=2, ITEM=2,
BORDER=LIGHT,
BORDER-STYLE=RIDGE,
BORDER-COLOR=RGB(51 51 153),
STYLE=BOLD,
$
TYPE=SUBFOOT, LINE=2, ITEM=3,
BORDER=LIGHT,
BORDER-STYLE=RIDGE,
BORDER-COLOR=RGB(51 51 153),
STYLE=BOLD,
$
TYPE=SUBFOOT, LINE=2, ITEM=4,
BORDER=LIGHT,
BORDER-STYLE=RIDGE,
BORDER-COLOR=RGB(51 51 153),
STYLE=BOLD,
$
ENDSTYLE
END
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
In v7.7.05, there's a section in the documentation called "Creating Reports With WebFOCUS Language > Laying Out the Report Page > Adding Grids and Borders > Align Subheading and Subfooting Margins With the Report Body". This might be improved in a modern version of WebFOCUS.
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