Focal Point
[SOLVED] Why am I getting the column total tag on one line and the totals on another?

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

December 11, 2015, 10:42 AM
CoolGuy
[SOLVED] Why am I getting the column total tag on one line and the totals on another?
Hey all,

I've been looking for other threads on this, and can't seem to find one. I swear there was something on this subject at some point.

Does anyone here know if there is a way to grab the column total value and use it in the header of a report?

Any help is much appreciated!

Thanks in advance!

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


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
December 11, 2015, 11:01 AM
bug
Does this work for you?


TABLE FILE CAR
PRINT *
ON TABLE SUBHEAD
"TOTAL SEATS <TOT.SEATS"
END



7.66 and 7.704
System: Windows / AIX / Linux
Output: Mostly HTML, with some PDF, Excel and Lotus(!)
December 11, 2015, 12:28 PM
CoolGuy
That seems to work. Thanks bug!

Although, when I run the report while adding a total along the bottom of the report, the word "TOTAL" on the left is getting its own line, while the total values are on their own line (a second line). Is there a way to fix this so that it's all on one line if you plug in a column total or summarize line at the bottom of the report?

My code:

TABLE FILE CAR
PRINT *
ON TABLE SUBHEAD
"TOTAL SEATS <TOT.SEATS"
ON TABLE COLUMN-TOTAL
END


Thanks again!

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


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
December 11, 2015, 10:20 PM
Rifaz
Well, you need to have atleast one column in sortfield and that makes sense too. Or use SUBFOOT

TABLE FILE CAR
PRINT *
BY COUNTRY
ON TABLE SUBHEAD
"TOTAL SEATS <TOT.SEATS"
ON TABLE COLUMN-TOTAL
END



-Rifaz

WebFOCUS 7.7.x and 8.x
December 14, 2015, 03:09 PM
CoolGuy
Thanks for your insights. We found that out ourselves this paast Friday. We also noticed if we do the following, it will correct the total line as well. We just won't be able to tag it:

ON TABLE COLUMN-TOTAL AS ''



8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.