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.
Is there a setting/technique to ensure that the footing can be printed on the tabfooting page, in the scenario that there is a page break to get to the tabfooting page? I want to be able to get the footing component (CSS included) to print on the last page that contains the tabfooting.
Here is a simple example:
TABLE FILE CAR
PRINT CAR MODEL BODYTYPE
BY COUNTRY PAGE-BREAK
FOOTING
"Footing Page <TABPAGENO "
ON TABLE PAGE-BREAK AND SUBFOOT
"End of Report: Subfooting Page <TABPAGENO "
END
Note that the footing appears at the bottom of every page except the last one. I want it on the last one too. I don't want to remove the PAGE-BREAK in the ON TABLE component, plus I don't want to copy the FOOTING text into the SUBFOOTING component.
Thanks, Sean
------------------------------------------------------------------------ PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
Posts: 210 | Location: Ottawa | Registered: November 03, 2005
Is this code working for you? Check it and let me know
SET PRINTPLUS=ON
TABLE FILE CAR PRINT CAR MODEL BODYTYPE BY COUNTRY PAGE-BREAK ON TABLE PCHOLD FORMAT PDF FOOTING "Footing Page <TABPAGENO " ON TABLE SUBFOOT AND PAGE-BREAK "End of Report: Subfooting Page <TABPAGENO " END
-EXIT
WFConsultant
WF 8105M on Win7/Tomcat
Posts: 780 | Location: Florida | Registered: January 09, 2005
This did work, but by switching the order of the PAGE-BREAK and the SUBFOOT, ie:
ON TABLE SUBFOOT AND PAGE-BREAK instead of ON TABLE PAGE-BREAK AND SUBFOOT
the tabfooting is on the same page as the last footing page (along with the data of the last page).
But I am hoping to be able to get the footing page on the same page as the tabfooting page, but all on a new page. So there would be no data on the last page (just the tabfooting text, followed by the footing text).
Thanks very much for your suggestions! Sean
------------------------------------------------------------------------ PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
Posts: 210 | Location: Ottawa | Registered: November 03, 2005
I'm not sure whether we can achieve this through some Webfocus syntax. Tried it through code and it seems working but still I'm not sure whether it serves your purpose. check this code and let me know.
-SET &ECHO='ALL';
TABLE FILE CAR PRINT CAR MODEL BODYTYPE BY COUNTRY ON TABLE HOLD AS TEST END -RUN
DEFINE FILE TEST CNT/I2=IF COUNTRY EQ LAST COUNTRY THEN CNT ELSE CNT +1; CNT1/I2=IF COUNTRY EQ LAST COUNTRY THEN 0 ELSE 1; END
TABLE FILE TEST SUM CNT1 ON TABLE SAVE AS TEST1 END -RUN
-READ TEST1 &CNT1.I2 -RUN
TABLE FILE TEST HEADING "TEST" PRINT CAR MODEL BODYTYPE CNT BY COUNTRY PAGE-BREAK BY CNT NOPRINT ON TABLE PCHOLD FORMAT HTML ON COUNTRY SUBFOOT "Footing Page <TABPAGENO" "End of Report: Subfooting Page <TABPAGENO "
WHEN CNT EQ &CNT1 SUBFOOT "Footing Page <TABPAGENO" WHEN CNT NE &CNT1
ON TABLE PAGE-BREAK AND SUBFOOT "Footing Page <TABLASTPAGE" END
-EXIT
WFConsultant
WF 8105M on Win7/Tomcat
Posts: 780 | Location: Florida | Registered: January 09, 2005
That's close to what I was looking for, except that the tabfooting should also be on page 6, not page 5. But I must say I was looking for a simple single TABLE FILE solution if it existed.
Thanks again for your effort! Sean
------------------------------------------------------------------------ PROD: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode TEST: WebFOCUS 7.6.2 on Unix AIX/Tomcat/Servlet Mode
Posts: 210 | Location: Ottawa | Registered: November 03, 2005