Focal Point
[CLOSED] how to change format at SQL Calculator in DMC?

This topic can be found at:

November 25, 2019, 05:39 AM
[CLOSED] how to change format at SQL Calculator in DMC?

I Have following expression within my SQL Calculator:

Alias: TotalAmount



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,

WebFOCUS v8.2.06 , Windows
November 25, 2019, 11:30 AM
FP Mod Chuck

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
November 26, 2019, 05:01 AM
I'll give it a try, Thanks

WebFOCUS v8.2.06 , Windows