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 have an EXL07 report that has a footing at the bottom. I need to right justify columns 2 and 3, or align them some kind of way so that the position doesn't change when the number lengths increase or decrease. See the following Car File example. Thanks.
DEFINE FILE CAR
BLANK/A1 = '';
COUNTRY_CNT/I11C = IF COUNTRY EQ 'ENGLAND' THEN 1 ELSE 0;
CAR_CNT/I11C = IF CAR EQ 'JAGUAR' THEN 1 ELSE 0;
MODEL_CNT/I11C = IF MODEL IS NOT MISSING THEN 1 ELSE 0;
END
TABLE FILE CAR
HEADING CENTER
"Car File Report with footing"
""
SUM
SALES/D20.2CM
DEALER_COST/D20.2CM
RETAIL_COST/D20.2CM
COUNTRY_CNT NOPRINT
CAR_CNT NOPRINT
MODEL_CNT NOPRINT
BY BLANK NOPRINT
BY COUNTRY
BY CAR
BY MODEL
ON BLANK SUBFOOT
"Car Information"
"Car Sales Info<+0> ..................................................<+0><ST.SALES<+0> ...........................<+0><ST.COUNTRY_CNT"
"Car Dearler Info<+0> ..................................................<+0><ST.DEALER_COST<+0> ...........................<+0><ST.CAR_CNT"
"Car Retail Info<+0> ..................................................<+0><ST.RETAIL_COST<+0> ...........................<+0><ST.MODEL_CNT"
ON TABLE SET PAGE-NUM OFF
ON TABLE SET BYDISPLAY ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL07
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
-*Heading
TYPE=SUBFOOT, LINE=1, JUSTIFY=LEFT,$
-* # Sales
TYPE=SUBFOOT, LINE=2, ITEM=2, OBJECT=TEXT, COLOR=WHITE,$
TYPE=SUBFOOT, LINE=2, ITEM=3, OBJECT=TEXT, COLOR=WHITE,$
TYPE=SUBFOOT, LINE=2, ITEM=5, OBJECT=TEXT, COLOR=WHITE,$
-* Dealer
TYPE=SUBFOOT, LINE=3, ITEM=2, OBJECT=TEXT, COLOR=WHITE,$
TYPE=SUBFOOT, LINE=3, ITEM=3, OBJECT=TEXT, COLOR=WHITE,$
TYPE=SUBFOOT, LINE=3, ITEM=6, OBJECT=TEXT, COLOR=WHITE,$
-* Retail
TYPE=SUBFOOT, LINE=4, ITEM=2, OBJECT=TEXT, COLOR=WHITE,$
TYPE=SUBFOOT, LINE=4, ITEM=3, OBJECT=TEXT, COLOR=WHITE,$
TYPE=SUBFOOT, LINE=4, ITEM=6, OBJECT=TEXT, COLOR=WHITE,$
-*
TYPE=SUBFOOT, LINE=2, ITEM=1, OBJECT=FIELD, JUSTIFY=RIGHT,$
TYPE=SUBFOOT, LINE=2, ITEM=2, OBJECT=FIELD, JUSTIFY=RIGHT,$
TYPE=SUBFOOT, LINE=3, ITEM=1, OBJECT=FIELD, JUSTIFY=RIGHT,$
TYPE=SUBFOOT, LINE=3, ITEM=2, OBJECT=FIELD, JUSTIFY=RIGHT,$
TYPE=SUBFOOT, LINE=4, ITEM=1, OBJECT=FIELD, JUSTIFY=RIGHT,$
TYPE=SUBFOOT, LINE=4, ITEM=2, OBJECT=FIELD, JUSTIFY=RIGHT,$
ENDSTYLE
END
WF App Studio 8201M, Windows 7
This message has been edited. Last edited by: FP Mod Chuck,
Try this it may work. All I did was play around with the spacing' /*
DEFINE FILE CAR BLANK/A1 = ''; COUNTRY_CNT/I11C = IF COUNTRY EQ 'ENGLAND' THEN 1 ELSE 0; CAR_CNT/I11C = IF CAR EQ 'JAGUAR' THEN 1 ELSE 0; MODEL_CNT/I11C = IF MODEL IS NOT MISSING THEN 1 ELSE 0; END TABLE FILE CAR HEADING CENTER "Car File Report with footing" "" SUM SALES/D20.2CM DEALER_COST/D20.2CM RETAIL_COST/D20.2CM COUNTRY_CNT NOPRINT CAR_CNT NOPRINT MODEL_CNT NOPRINT BY BLANK NOPRINT BY COUNTRY BY CAR BY MODEL ON BLANK SUBFOOT "Car Information" "Car Sales Info<+0> ...................................................<+0> ............................<+0>"Car Dearler Info<+0> ................................................<+0> ............................<+0>"Car Retail Info<+0> ..................................................<+0> ..........................<+0>ON TABLE SET PAGE-NUM OFF ON TABLE SET BYDISPLAY ON ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT EXL07 ON TABLE SET HTMLCSS ON ON TABLE SET STYLE *
RSquared, thanks for the reply, but unfortunately no data displayed in the footing. I need something that will give me static positioning that will not change when the number of digits in the dollars and counts increase or decrease. This report will be run for various customers whose numbers will be different. When I ran the first customer report, I tweaked it for that customer but when I ran for another customer the numbers were not aligned. Thanks.
Thanks Frans and pav. Adding the HEADALIGN and making a few minor tweaks to the subfoot worked. Thanks to all for your replies. I will be closing this post as SOLVED. Thanks again.