Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
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)
Go
New
Search
Notify
Tools
Reply
  
[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.3,
Application Studio,
Webfocus Info-Assist
iWay Service Manager,
iWay Data Migrator
Windows, All Outputs
IBM DB2/400, MS SQL-Server 2014
 
Posts: 33 | Registered: September 30, 2015Reply With QuoteReport 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.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2100 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport 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.3,
Application Studio,
Webfocus Info-Assist
iWay Service Manager,
iWay Data Migrator
Windows, All Outputs
IBM DB2/400, MS SQL-Server 2014
 
Posts: 33 | Registered: September 30, 2015Reply With QuoteReport 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.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5575 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Silver Member
posted Hide Post
thanks to all.
It is working now. I changed the format to CM


WebFOCUS 8.2.0.3,
Application Studio,
Webfocus Info-Assist
iWay Service Manager,
iWay Data Migrator
Windows, All Outputs
IBM DB2/400, MS SQL-Server 2014
 
Posts: 33 | Registered: September 30, 2015Reply With QuoteReport 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.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5575 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

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-2018 Information Builders, leaders in enterprise business intelligence.