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
-REPEAT FOT &CNTFOT.EVAL TIMES -SET &CNT = &CNT + 1; TYPE=TABFOOTING,LINE=&CNT,ITEM=1,COLSPAN=5, POSITION=P1, JUSTIFY=LEFT, STYLE=BOLD,$ TYPE=TABFOOTING,LINE=&CNT,ITEM=2,POSITION=P6,,JUSTIFY=RIGHT STYLE=BOLD,$ -FOT
SidThis message has been edited. Last edited by: Kerry,
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
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?
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.
|Powered by Social Strata|