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.
Please run my code below to understand my requirement. I want to make some heading Lines disappear on the OVERFLOW pages. I tried in Composer and this is achieveable using Composer.
Is there any other way to get the same result not using components?
TABLE FILE CAR PRINT CAR MODEL BY SEATS PAGE-BREAK HEADING " " " I WANT THIS LINE IN ALL PAGES (SOME IMAGE AS PER THE REQUIREMENT)" " " " " " I WANT THIS LINE ONLY ON 1ST PAGE OF PAGE BREAK i.e 1,3,5" " (NOT ON THE OVERFLOW PAGE. PAGES-2,4 & 6 ARE OVERFLOW PAGES)" " " ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * PAGESIZE='ENVELOPE-DL', LEFTMARGIN=0.5, RIGHTMARGIN=0.025, TOPMARGIN=0.1000, BOTTOMMARGIN=0.4000, SQUEEZE=OFF, UNITS=IN, ORIENTATION=LANDSCAPE, TOPGAP=0.05, BOTTOMGAP=0.05,$ ENDSTYLE ENDThis message has been edited. Last edited by: Kerry,
WF 7.7.02 on Windows 7 Teradata HTML,PDF,EXCEL,AHTML
TABLE FILE CAR
PRINT
CAR
MODEL
BY SEATS PAGE-BREAK
HEADING
" "
" I WANT THIS LINE IN ALL PAGES (SOME IMAGE AS PER THE REQUIREMENT)"
" "
" "
ON SEATS SUBHEAD
" I WANT THIS LINE ONLY ON 1ST PAGE OF PAGE BREAK i.e 1,3,5"
" (NOT ON THE OVERFLOW PAGE. PAGES-2,4 & 6 ARE OVERFLOW PAGES)"
" "
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
PAGESIZE='ENVELOPE-DL', LEFTMARGIN=0.5, RIGHTMARGIN=0.025, TOPMARGIN=0.1000,
BOTTOMMARGIN=0.4000, SQUEEZE=OFF, UNITS=IN, ORIENTATION=LANDSCAPE, TOPGAP=0.05, BOTTOMGAP=0.05,$
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
The SUBHEAD indeed appears on pages 1, 3 and 5 because the SUBHEAD is for the SEATS column. I imagine, though, that you would like the SUBHEAD to appear above the column titles, not below - that is, if you require column titles.
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
TABLE FILE CAR
PRINT CAR
MODEL
COMPUTE OVERFLOW_PAGE/A1 = IF (TABPAGENO - (INT(TABPAGENO / 2) * 2)) EQ 1 THEN 'N' ELSE 'Y'; NOPRINT
BY SEATS PAGE-BREAK
HEADING
" "
" I WANT THIS LINE IN ALL PAGES (SOME IMAGE AS PER THE REQUIREMENT)"
" "
" "
" I WANT THIS LINE ONLY ON 1ST PAGE OF PAGE BREAK i.e 1,3,5"
" (NOT ON THE OVERFLOW PAGE. PAGES-2,4 & 6 ARE OVERFLOW PAGES)"
" "
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
PAGESIZE='ENVELOPE-DL', LEFTMARGIN=0.5, RIGHTMARGIN=0.025, TOPMARGIN=0.1000,
BOTTOMMARGIN=0.4000, SQUEEZE=OFF, UNITS=IN, ORIENTATION=LANDSCAPE, TOPGAP=0.05, BOTTOMGAP=0.05,$
TYPE=HEADING, LINE=5, COLOR=WHITE, WHEN=OVERFLOW_PAGE EQ 'Y', $
TYPE=HEADING, LINE=6, COLOR=WHITE, WHEN=OVERFLOW_PAGE EQ 'Y', $
ENDSTYLE
END
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Thanks Tony. Your technique was great, works perfectly. I appreciate ur efforts. However, with my real data, not all sort value breaks equally to two pages.
I was wondering if there would be any technique to capture the Page number based on the Page-Break.
-Hari
WF 7.7.02 on Windows 7 Teradata HTML,PDF,EXCEL,AHTML
In that case you'll need to revise the COMPUTEd value to signify when the header should be "shown".
PRINT MODEL
COMPUTE OVERFLOW_PAGE/A1 = IF COUNTRY EQ LAST COUNTRY THEN 'Y' ELSE 'N'; NOPRINT
-* COMPUTE OVERFLOW_PAGE/A1 = IF (TABPAGENO - (INT(TABPAGENO / 2) * 2)) EQ 1 THEN 'N' ELSE 'Y'; NOPRINT
BY COUNTRY
BY CAR PAGE-BREAK
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004