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     [SOLVED] Totals on 2 Lines (use subfoot instead, but ... decimal place problem)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Totals on 2 Lines (use subfoot instead, but ... decimal place problem)
 Login/Join
 
Member
posted
wow! Lots of discussion about this. Especially at http://forums.informationbuilders.com/eve/forums/a/tpc/...571078331#1571078331.

I could not get any of the tricks to work, so I turned to the custom subfoot method. It gave me my one line totals line, but now my data has grown 2 decimal places, even though all the data involved is integer only.

How does one force subtotals (
thanks

Richard

This message has been edited. Last edited by: MTO-Solutions-Engineering,


MTO
WebFOCUS Dev Studio 5.3.2 (trying to upgrade to 7.x !)
Unix with Win XP front ends
output usually PDF (and some HTML and XLS at times)
 
Posts: 23 | Location: Toronto, Ontario, Canada | Registered: January 09, 2007Report This Post
Guru
posted Hide Post
Use a DEFINE to change the format of the field.
Example - If the field is D8.2 change it to D8.

  
DEFINE FILE CAR
SEATS/D8 = SEATS;
END


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
 
Posts: 320 | Location: Memphis, TN | Registered: February 12, 2008Report This Post
Member
posted Hide Post
That was too easy!!! I thought that this was enough ...

PRINT
     SERV_REG AS ' '
     POLICE/D8 AS ' '
     REGISTRAR/D8 AS ' '
     TOTAL_DATA/D8 AS ' '


but obviously not.

thank you

Richard


MTO
WebFOCUS Dev Studio 5.3.2 (trying to upgrade to 7.x !)
Unix with Win XP front ends
output usually PDF (and some HTML and XLS at times)
 
Posts: 23 | Location: Toronto, Ontario, Canada | Registered: January 09, 2007Report This Post
Expert
posted Hide Post
Richard, the redefinition POLICE/D8 is good only for report columns and subtotals, not for subfoots. Mighty Max's solution will work for report columns, subtotals and subfoots.

By the way, I have lost millions of neurons trying to fix the two-line subtotal over the years. I have never found the DEFINITIVE solution, though many have tried to help. I still feel IBI should fix the problem in the software and not suggest workarounds.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
quote:
Originally posted by Francis Mariani:
I still feel IBI should fix the problem in the software and not suggest workarounds.

You have our vote. This is so easy in other products that I have used (mind you, they were all desktop based, not web based, but still, this is a classic design structure)

Richard


MTO
WebFOCUS Dev Studio 5.3.2 (trying to upgrade to 7.x !)
Unix with Win XP front ends
output usually PDF (and some HTML and XLS at times)
 
Posts: 23 | Location: Toronto, Ontario, Canada | Registered: January 09, 2007Report 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     [SOLVED] Totals on 2 Lines (use subfoot instead, but ... decimal place problem)

Copyright © 1996-2020 Information Builders