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  iWay Software Product Forum on Focal Point    [CLOSED] how to change format at SQL Calculator in DMC?
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] how to change format at SQL Calculator in DMC?
 Login/Join
 
Silver Member
posted
Hi,

I Have following expression within my SQL Calculator:

Alias: TotalAmount

Expression:
T2.HEALTH_PRICE*T2.QTY*T2.RATIO

T2.HEALTH_PRICE/P20.4
T2.QTY/P14.4
T2.RATIO/P20.4



The expression is fine, but the default Format of "TotalAmount" become P33.0 by system, but want it to be D33.6 which is contain decimal value. If I try change it after P33.0 to D33.6, all decimal value already been run off.
Is it possible to manual set the format of new inserted column by our self?

This message has been edited. Last edited by: nox,
 
Posts: 39 | Registered: August 29, 2019Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Nox

In your source master file definition you would create a new DEFINE for that field with the appropriate format and then reference that field by name in your SQL


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1674 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Silver Member
posted Hide Post
I'll give it a try, Thanks
 
Posts: 39 | Registered: August 29, 2019Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CLOSED] how to change format at SQL Calculator in DMC?

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.