Focal Point
[CLOSED] formatting a BY field

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/117103333

January 05, 2010, 02:45 PM
Mark1
[CLOSED] formatting a BY field
Anybody know how to format on a BY field?

I tried this:

BY FIELD1/P12.2MB

It didn't like that. Thanks!

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


Windows version 768
January 05, 2010, 03:03 PM
Dan Satchell
Can't format a BY field. PRINT or SUM the field with the required format, then sort it with a NOPRINT.

TABLE FILE <fn> 
 PRINT FIELD1/P12.2MB
       FIELD2
       FIELD3
       etc.
 BY FIELD1 NOPRINT
END



WebFOCUS 7.7.05
January 05, 2010, 03:05 PM
Mark1
Can you do it in a stylesheet?


Windows version 768
January 05, 2010, 03:07 PM
GinnyJakes
No. Or COMPUTE it and do a BY TOTAL on the computed field.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google