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     Change grand total precision

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Change grand total precision
 Login/Join
 
Platinum Member
posted
Is there a way to change the precision of a grand total field?

Detail and sub-total field are D20% but grand total should be D20.1%.

Thanks in advance.

Dan


Dev: WebFOCUS 7.6.10, Data Migrator 7.6.10
QA: WebFOCUS 7.6.10, Data Migrator 7.6.10
Prod: WebFOCUS 7.6.2, Data Migrator 7.6.8
Windows 2K3, Tomcat 5.5.17, IIS 6
Usage: HTML, PDF, Excel, Self-serve, BID and MRE
 
Posts: 197 | Location: Roseville, CA | Registered: January 24, 2005Report This Post
Virtuoso
posted Hide Post
You might do this in two steps.

First compute the overall total and combine it via the MORE command to the detailed records.

Then create the final report without the grandtotal, but with the overall total as an extra record.

The overall total field can get an other format based on the BY field.

It's not possible to test it now, so give it a try and let me know if it worked.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
I'm sure there are better ways...but

You could have two fields - one you could use in the detail and SubTotal...then you could do the grand total with a Subfoot.
DEFINE FILE WHATEVER
FIELD1/D20% = FIELD;
FIELD2/D20.1% = FIELD;
END

BY FIELD1 SUBTOTAL

SUBFOOT
"TOT.FIELD2"


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
Yes, that is better Prarie...
My problem is always to get the total value at the proper position in the report.

And should it be
<TOT.FIELD2
?




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
Yes Frank that is it. Yes positioning can be fun.


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 for your replies.

I tried Prarie's suggestion using the CAR file and I'm having problems aligning the grand total with the detail field.

DEFINE FILE CAR
WB1/D20 = WHEELBASE;
WB2/D20.1 = WHEELBASE;
END

TABLE FILE CAR
PRINT
CAR
WB1
BY
COUNTRY

ON COUNTRY SUBTOTAL AS '*TOTAL'
ON TABLE SUBFOOT
"<TOT.WB2 "
END
-EXIT

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


Dev: WebFOCUS 7.6.10, Data Migrator 7.6.10
QA: WebFOCUS 7.6.10, Data Migrator 7.6.10
Prod: WebFOCUS 7.6.2, Data Migrator 7.6.8
Windows 2K3, Tomcat 5.5.17, IIS 6
Usage: HTML, PDF, Excel, Self-serve, BID and MRE
 
Posts: 197 | Location: Roseville, CA | Registered: January 24, 2005Report This Post
Virtuoso
posted Hide Post
This works in PDF

ON TABLE PCHOLD FORMAT PDF
ON TABLE SUBFOOT
"<34>

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
I think you may be looking for the following to position the title on the report in PDF.

SUBFOOT
"
TYPE=SUBFOOT, BY=FIELD1, ITEM=1, POSITION=FIELD1, $


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
 
Posts: 179 | Registered: November 10, 2004Report This Post
Virtuoso
posted Hide Post
Yes Pam that will work better, but I believe when you are using ON TABLE SUBFOOT....it is TABFOOTING instead of SUBFOOT in the stylesheet.


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
Thank your for your replies. Let me try your suggestions and will let you know.


Dev: WebFOCUS 7.6.10, Data Migrator 7.6.10
QA: WebFOCUS 7.6.10, Data Migrator 7.6.10
Prod: WebFOCUS 7.6.2, Data Migrator 7.6.8
Windows 2K3, Tomcat 5.5.17, IIS 6
Usage: HTML, PDF, Excel, Self-serve, BID and MRE
 
Posts: 197 | Location: Roseville, CA | Registered: January 24, 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     Change grand total precision

Copyright © 1996-2020 Information Builders