Focal Point
[CLOSED] output like this

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

October 14, 2010, 11:50 PM
Ankush
[CLOSED] output like this
car model retail_cost
c1 m1
m2
m3
subtotal 20000

only need to print subtotal not values in column

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


WebFOCUS 7.6
Windows, All Outputs
October 15, 2010, 12:00 AM
Waz
How nice for you.........



Oh, you want to have a report that only has the subtotal ?

How about this.

TABLE FILE CAR
SUM RETAIL_COST NOPRINT
BY CAR
BY MODEL
ON CAR SUBFOOT
"Total: <ST.RETAIL_COST "
END



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!

October 15, 2010, 12:32 AM
Ankush
hi thanksfor ur rpl. but in added to that i also need to print retail_cost column with out any values


WebFOCUS 7.6
Windows, All Outputs
October 15, 2010, 01:16 AM
Waz
Ah, this is a case where you need to fire up the grey matter.


e.g.
TABLE FILE CAR
SUM RETAIL_COST NOPRINT
COMPUTE RETAIL_COST/D7S = 0 ;
BY CAR
BY MODEL
ON CAR SUBFOOT
"Total: <ST.RETAIL_COST "
END


If you need the total to align up with the column, then have a look in the documentation for HEADALIGN for HTML or EXCEL, and POSITION for PDF.


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!