June 01, 2007, 04:09 PM
mgrackinThe 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.htmlJune 01, 2007, 04:16 PM
sbp04 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?
June 02, 2007, 06:34 AM
Alan BI 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.
June 04, 2007, 09:52 PM
PiipsterON 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.
June 05, 2007, 03:23 AM
Tony AKaren, 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