Hi I have a TABFOOTING in a report. What I am doing is displaying company no (left aligned) and the sum(right aligned) in the subfooting. The problem that I am facing is that the first entry for the sum is a little misaligned (ie more towards right then the rest of the entries). This is happening only in PDF format. Here's the part of the code I am using
WF Server: 7.1.4 on Unix and Win2K3 server, ReportCaster, Self-Service, MRE, Java Data: Teradata, Oracle, SQL Server Output: HTML,PDF,EXL2K, WP WF Client: 7.1.4 on Windows 2K3 w/Tomcat
October 06, 2009, 06:42 AM
GamP
I tried the following, but this aligned just fine.
-SET &CNTFOT = 5;
-SET &CNT = 1;
APP APPENDPATH IBISAMP
TABLE FILE CAR
PRINT DCOST COUNTRY
CAR MODEL SEATS RCOST SALES
ON TABLE SUBTOTAL
ON TABLE SUBFOOT
"Subfoot with a number of lines"
"<ST.DCOST<ST.RCOST"
"<ST.DCOST<ST.RCOST"
"<ST.DCOST<ST.RCOST"
"<ST.DCOST<ST.RCOST"
"<ST.DCOST<ST.RCOST"
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN, SQUEEZE=ON, GRID=OFF, $
TYPE=REPORT, FONT='ARIAL', SIZE=8, STYLE=NORMAL, $
TYPE=TABFOOTING, HEADALIGN=BODY, $
-REPEAT FOT &CNTFOT.EVAL TIMES
-SET &CNT = &CNT + 1;
TYPE=TABFOOTING,LINE=&CNT,ITEM=1, OBJECT=FIELD, COLSPAN=5, POSITION=P1, JUSTIFY=LEFT , STYLE=BOLD,$
TYPE=TABFOOTING,LINE=&CNT,ITEM=2, OBJECT=FIELD, POSITION=P6, JUSTIFY=RIGHT, STYLE=BOLD,$
-FOT
ENDSTYLE
END
If you run this code, does it also align correctly? If yes, then what is your exact code that causes the problem? What WebFOCUS 76 version are you using?
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
October 06, 2009, 08:53 AM
mgrackin
SQUEEZE=ON is probably what will fix the issue. If SQUEEZE is not set to ON then FOOTINGs span the whole width of the page by default.