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 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