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     [Resolved] - Thank You! Page Totals

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Resolved] - Thank You! Page Totals
 Login/Join
 
Member
posted
Hi everyone. I have searched and cannot find help on placing totals on report pages. Example, query is for 40 units. Report page breaks at 20. On each page I need the total cost for those 20 units. On each page I have header information, then the detail for the 20 units, then footer information. I am successful in getting the grand total at the end of the report, but need help with page totals. Thanks
-

This message has been edited. Last edited by: TimpyJane,


Web Focus Developer Studio Release 7.6.1 Output formats include Excel, PDF, HTML, XML.
 
Posts: 25 | Registered: September 05, 2008Report This Post
Virtuoso
posted Hide Post
This is an example from IBI tech site.


 TABLE FILE CAR
PRINT RCOST AS 'RETAIL, COST'
-*resets the counter when the page-break # records is reached
COMPUTE CTR/I3 = IF CTR GE &NUM_LINES THEN 1 ELSE CTR + 1;
-*restarts the total when ctr=1 else keeps a running page total
COMPUTE PAGE_TOT = IF CTR EQ 1 THEN RCOST ELSE RCOST + PAGE_TOT;
-*contains the page total
XPGTOT = PAGE_TOT ;
BY COUNTRY BY CAR NOPRINT BY MODEL
-*causes a page-break when the desired number of records are reached
ON MODEL PAGE-BREAK WHEN CTR EQ &NUM_LINES
FOOTING BOTTOM
" "
"This is the subtotal for page <TABPAGENO : <XPGTOT "
END
 


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Virtuoso
posted Hide Post
There isn't such a thing in WF as a page total, per se. What you would need to do is compute a page counter field that would increment after each 20 lines. Then you could page-break and subtotal on that counter field. There was another similar post today about page-break after each 100 lines. There are several example on the forum of creating page/line counters.

That being said, this would indeed be something very useful if IBI could somehow incorporate this functionality as a standard part of the tool. Maybe you could open a new feature request (NFR) with tech support.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Virtuoso
posted Hide Post
There you go... Prarie found you a good example while I was responding.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Virtuoso
posted Hide Post
Teamwork!
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Member
posted Hide Post
Thank you! I'll give this a try and will get back to you with my results. Timpy


Web Focus Developer Studio Release 7.6.1 Output formats include Excel, PDF, HTML, XML.
 
Posts: 25 | Registered: September 05, 2008Report 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     [Resolved] - Thank You! Page Totals

Copyright © 1996-2020 Information Builders