Focal Point
TABFOOTING STYLING

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7391075032

June 01, 2007, 12:44 PM
sbp04
TABFOOTING STYLING
I am trying to get my table subfoot to be bold, font size 12, and right justified. I noticed something on Focal Point about using the tabfooting styling...This is what I wrote:

$
TYPE=TABFOOTING,
ITEM=1,
COLOR='BLACK',
SIZE=12,
STYLE=BOLD,
COLSPAN=3,
JUSTIFY=RIGHT,
$
TYPE=TABFOOTING,
ITEM=2,
COLOR='BLACK',
SIZE=12,
STYLE=BOLD,
COLSPAN=3,
JUSTIFY=RIGHT,

It does everything except the right justification. Any ideas on how to get it to do this?


sbp
June 01, 2007, 01:55 PM
Prarie
What is your output...PDF - HTML - Excel?


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
The user will be allowed to output the report to any of those formats (HTML, PDF, and Excel).


sbp
I think you are going to have different results with different formats but try
TYPE=SUBFOOT, HEADALIGN=BODY,JUSTIFY=RIGHT,$


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
The two articles I wrote regarding "WebFOCUS HTML and PDF Report Design" may be useful to read. You can find them on Focal Point at:

http://www.informationbuilders.com/support/developers/index.html


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
TYPE=SUBFOOT, HEADALIGN=BODY,JUSTIFY=RIGHT,$

I have two subfoots, one on a field and one on the table. I was wanting to right justify the second subfoot on the table, however when I use your suggestion it only formats the first subfoot on the field. Is there something I need to add to the subfoot styling to get it to style for the second subfoot?


sbp
I would use FOOTING rather than SUBFOOT when at TABLE level, and then style the footing.

If you must have a SUBFOOT, cannot at the moment think why, use a sort on a dummy field with single value and use the BY=DUMMY in the style sheet.

Do please read Mickey's articles.


Alan.
WF 7.705/8.007
ON TABLE SUBFOOT produces a one time footing at the end of the report as opposed to FOOTING which is on every page. The component he is trying to style is the TABFOOTING.


ttfn, kp


Access to most releases from R52x, on multiple platforms.
Karen, as usual, is right. The component that "sbp" should be styling at the Table level is TABFOOTING and the ON TABLE SUBFOOT impact is often forgotten about.

To demostrate the different components try something like this -
TABLE FILE CAR
SUM RCOST
    DCOST
 BY COUNTRY
 BY CAR
 BY MODEL
ON TABLE SUBFOOT
"This is at Table level"
ON COUNTRY SUBFOOT
"This is at COUNTRY level"
ON CAR SUBFOOT
"This is at CAR level"
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
  TYPE=SUBFOOT, LINE=1, COLSPAN=5, HEADALIGN=BODY, JUSTIFY=RIGHT, COLOR=GREEN, $
  TYPE=TABFOOTING, COLSPAN=5, HEADALIGN=BODY, JUSTIFY=RIGHT, COLOR=BLUE, $
ENDSTYLE
END
-RUN


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10