Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Footing on Tabfooting Page

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Footing on Tabfooting Page
 Login/Join
 
Platinum Member
posted
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, 2005Report This Post
Master
posted Hide Post
try

SET PRINTPLUS=ON


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Platinum Member
posted Hide Post
Unfortunately that didn't do the trick Kamesh.

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, 2005Report This Post
Master
posted Hide Post
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, 2005Report This Post
Platinum Member
posted Hide Post
Kamesh,

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, 2005Report This Post
Virtuoso
posted Hide Post
Take a look at this and see it it helps

http://techsupport.informationbuilders.com/tech/cof/cof_tcn_044.html


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
Thanks Prarie,

I'll have a look and report back tomorrow.

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, 2005Report This Post
Platinum Member
posted Hide Post
Prarie,

The SET PRINTPLUS=ON doesn't do what I need unfortunately.

I need output like this:

data
...
...
Footing Page 5

End of Report: Subfooting Page 6

Footing Page 6

I can't get the last part (Footing Page 6), on a new page after all the data has been output.

Anybody know if this is possible, or is this a WebFocus limitation that I have to live with?

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, 2005Report This Post
Master
posted Hide Post
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, 2005Report This Post
Platinum Member
posted Hide Post
Kamesh,

Wow, quite the effort... thanks!

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, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Footing on Tabfooting Page

Copyright © 1996-2020 Information Builders