Hi, I have a field with positive and negative values.I have to just do column-total of its absolute values. Is it feasible with Webfocus? For example,there is a column called Price as shown below.
Price 7 -9 3 -1 Column-total has to be 20(It should not be 0)This message has been edited. Last edited by: Kerry,
If you are wanting to show the negatives in your report but only the ABS of the Total use RECAP with SUBFOOT. It would be something like: TABLE FILE MYFILE SUM AMT COMPUTE ABS_AMT/D12=ABS(AMT); NOPRINT ON TABLE RECAP GT/D12=ABS(TOT.ABS_AMT); ON TABLE SUBFOOT "Absolute Total END
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
October 01, 2008, 06:16 AM
Suji
Hi, I am not able to get column-total in the subfoot right after the report output in PDF format since I give pagenum at the footing bottom. Is there any way to introduce table border in the subfoot also in PDF format?
For example,this is my sample output how it appears in my PDF format Country ITEM Price India A $5 US B $10 Arab C $15
1 $30 =============================================== But I want it to be as follows
Country ITEM Price India A $5 US B $10 Arab C $15 $30