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] how to change the tot format of a field for an AHTML output ( CALC-LOCATION)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] how to change the tot format of a field for an AHTML output ( CALC-LOCATION)
 Login/Join
 
Silver Member
posted
Hello,

I could not find an answer on how to change the format of a column using CALC-LOCATION =TOP in a AHTML output. This is the line I have in the style

TYPE=REPORT,CALC-LOCATION =TOP,COLUMN=N21, CALCULATION=SUM, $

the line will create a total at the top as Total Sum 72,591.64.

the detail line of this column is displayed as $47.00 (with dollar sign). I would like to have the $ sign in the Total Sum as Total Sum $72,591.64

Does anyone knows if we can change the format?

thanks,

Vera

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.2.0.7,
Application Studio,
Webfocus Info-Assist
iWay Service Manager,
iWay Data Migrator
Windows, All Outputs
IBM DB2/400, MS SQL-Server 2014
 
Posts: 43 | Registered: September 30, 2015Report This Post
Virtuoso
posted Hide Post
The SUM column takes the format of the detail
TABLE FILE CAR
SUM RETAIL_COST
    DEALER_COST/P6CM
BY COUNTRY
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET STYLE *
TYPE=REPORT, CALC-LOCATION=TOP, COLUMN=N3, CALCULATION=SUM, $
ENDSTYLE
END


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Silver Member
posted Hide Post
It did not happen in my case.
the detail line has a format of sales/D20.2CBig Grin ($ sign). The dollar sign come in the detail line but not in the SUM line


WebFOCUS 8.2.0.7,
Application Studio,
Webfocus Info-Assist
iWay Service Manager,
iWay Data Migrator
Windows, All Outputs
IBM DB2/400, MS SQL-Server 2014
 
Posts: 43 | Registered: September 30, 2015Report This Post
Expert
posted Hide Post
Look at Martin's reply and see how his use of formatting differs from your own. Then look at the documentation to see what the differences mean.

It may also be intentional in AHTML format so you need to decide whether to continue to use the format you have or that suggested by Martin.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Silver Member
posted Hide Post
thanks to all.
It is working now. I changed the format to CM


WebFOCUS 8.2.0.7,
Application Studio,
Webfocus Info-Assist
iWay Service Manager,
iWay Data Migrator
Windows, All Outputs
IBM DB2/400, MS SQL-Server 2014
 
Posts: 43 | Registered: September 30, 2015Report This Post
Expert
posted Hide Post
quote:
I changed the format to CM


SmilerSmilerSmiler

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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] how to change the tot format of a field for an AHTML output ( CALC-LOCATION)

Copyright © 1996-2020 Information Builders