Focal Point
[SOLVED] Table File will not display percent field from hold file

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

September 10, 2013, 12:17 PM
kitten
[SOLVED] Table File will not display percent field from hold file
I'm holding a file with a percent but it will not display in my table file. Can someone give advice. Please see code below.
TABLE FILE SALES
SUM
CNT.ITEM AS 'ITEM'
PCT.CNT.ITEM AS 'PERCENT'
BY ACCT
ON TABLE HOLD AS ITMS
END

TABLE FILE ITMS
PRINT 
ITEM
PERCENT
BY ACCT
END

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


WebFOCUS 7.6.2, MS Windows Server/______, Excel, PDF, HTML
September 10, 2013, 01:18 PM
Tony A
Insert the following line after your ON TABLE HOLD AS -
ON TABLE SET ASNAMES ON

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 
September 10, 2013, 05:11 PM
Waz
If Tony's suggestion does not work, please give us more information.

For example, does it error, are the values wrong, etc


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

September 11, 2013, 10:45 AM
kitten
Thank you Tony that's exactly what was needed. Thanks also Waz.


WebFOCUS 7.6.2, MS Windows Server/______, Excel, PDF, HTML
September 12, 2013, 03:24 AM
Tony A
Purrrrrrrrr ...... Wink

T