As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
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 *
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