[CLOSED] SUBFOOT text is coming out of box with compound reports
Hi,
Iam developing the report similar to example below.
I have borders and Back Ground color on subfoot. But the subfoot text from my second report is coming out of box, any idea why this is occuring? or if you have any better idea of doing it please share as well.
TABLE FILE CAR PRINT COMPUTE DUMMY/A1 = ''; AS '' BY COUNTRY NOPRINT
ON COUNTRY SUBFOOT "TEST 1"
ON TABLE SET HTMLCSS ON ON TABLE PCHOLD FORMAT PDF OPEN NOBREAK ON TABLE SET STYLE * TYPE=SUBFOOT, BY=1, BORDER=LIGHT, $ TYPE=SUBFOOT, LINE=1, JUSTIFY=CENTER, BACKCOLOR='GREEN', $ TYPE=SUBFOOT, JUSTIFY=CENTER,$ TYPE=SUBFOOT, BORDER-RIGHT=1,$ ENDSTYLE END
TABLE FILE CAR PRINT COMPUTE DUMMY/A1 = ''; AS '' BY COUNTRY NOPRINT
ON COUNTRY SUBFOOT "TEST 2" ON TABLE SET HTMLCSS ON ON TABLE PCHOLD FORMAT PDF CLOSE ON TABLE SET STYLE *
Thank You SandhyaThis message has been edited. Last edited by: <Kathryn Henning>,
WEBFOCUS 8202/Windows PDF/HTML/XML
November 11, 2013, 09:38 AM
njsden
Weird. I get the exact same behaviour although each report runs okay in isolation. It seems that the use of he compound feature adds some sort of offset to the text in relation to the SUBFOOT boundaries.
Can you try using the Document Composer feature directly from Developer Studio and see if it makes any difference? That adds additional metadata related to the use of margins and other dependencies among components in a compound document that may fix the problem seen here.
I would open a case. It seems having a compound report with NOBREAK and a border on the second report causes this. The report will be created correctly with no NOBREAK or no border. I used the following code to test this. Even BORDER=0 breaks the report.
SET PAGE=NOLEAD
TABLE FILE CAR
PRINT
COMPUTE DUMMY/A1 = '1'; AS ''
BY COUNTRY NOPRINT
ON COUNTRY SUBFOOT
"TEST 1"
ON TABLE PCHOLD FORMAT PDF OPEN NOBREAK
ON TABLE SET STYLE *
TYPE=SUBFOOT, BACKCOLOR='GREEN', JUSTIFY=CENTER, BORDER=LIGHT, $
ENDSTYLE
END
TABLE FILE CAR
PRINT
COMPUTE DUMMY/A1 = '2'; AS ''
BY COUNTRY NOPRINT
ON COUNTRY SUBFOOT
"TEST 2"
ON TABLE PCHOLD FORMAT PDF CLOSE
ON TABLE SET STYLE *
TYPE=SUBFOOT, BACKCOLOR='GREEN', JUSTIFY=CENTER, BORDER=LIGHT, $
ENDSTYLE
END
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server