Focal Point
Field Totals in One Column
July 07, 2008, 04:17 PM
slim007Field Totals in One Column
I need to know how to get all my columns to show up in one column. I do not want my totals to go across on one row. Can anyone help?
Thanks...
7.1.4
UNIX
Excel, PDF, HTML
July 07, 2008, 04:35 PM
Francis MarianiNot at all sure what you mean. Do you want to sum multiple numeric database columns into one report column, or is it something else?
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
July 07, 2008, 04:36 PM
jimster06Would you like to see your column totals in a footing?
Say your columns are JAN.... DEC and
your footing would be
JAN TOTAL
.
.
.
DEC TOTAL
where TOTAL represents the sum of the column?
jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
July 07, 2008, 04:39 PM
slim007jimster06,
That is exactly what I want. Then, I would like a column next to it with another set of totals. Do you have any ideas?
Thanks...
7.1.4
UNIX
Excel, PDF, HTML
July 08, 2008, 12:46 AM
Danny-SRLSlim,
Could this help"
-* File slim1.fex
TABLE FILE CAR
PRINT SALES RCOST DCOST
BY COUNTRY
ON COUNTRY SUBFOOT
"TOTAL FOR <COUNTRY"
"SALES <ST.SALES"
"RETAIL <ST.RCOST"
"DEALER <ST.DCOST"
" "
ON TABLE SET STYLE *
TYPE=SUBFOOT, HEADALIGN=BODY, $
ENDSTYLE
END
Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
July 08, 2008, 10:07 AM
slim007Thanks Danny!
That seemed to work. You wouldn't happen to know how to get another column next to it do the same thing would you?
Thanks Again...
7.1.4
UNIX
Excel, PDF, HTML
July 08, 2008, 10:16 AM
Danny-SRLSlim,
Of course: anything is possible in WF! But what do you mean by "the same thing"?
Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
July 08, 2008, 11:17 AM
slim007Danny,
I want 8 additional columns that total off of a particular database category/value. Right now, I have 1 column with totals. Do you have any ideas?
Thanks...
7.1.4
UNIX
Excel, PDF, HTML
July 08, 2008, 11:42 AM
Danny-SRLSlim,
It is not very clear what you want. An example could help. Nonetheless see the following. I suppose that if you have other data you can replace some of the subtotaled fields.
-* File slim1.fex
TABLE FILE CAR
PRINT SALES RCOST DCOST
BY COUNTRY
ON COUNTRY SUBFOOT
"TOTAL FOR <COUNTRY"
"SALES <ST.SALES<ST.SALES<ST.SALES"
"RETAIL <ST.RCOST<ST.RCOST<ST.RCOST"
"DEALER <ST.DCOST<ST.DCOST<ST.DCOST"
" "
ON TABLE SET STYLE *
TYPE=SUBFOOT, HEADALIGN=BODY, JUSTIFY=RIGHT,$
TYPE=SUBFOOT, ITEM=1, JUSTIFY=LEFT,$
ENDSTYLE
END
Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
July 08, 2008, 12:22 PM
slim007Thanks Danny!
That's exactly what I was wanting. Sorry I was not clear.
Thanks...
7.1.4
UNIX
Excel, PDF, HTML